You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-5Lines changed: 9 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# AspNetCore Bootstrap5 Tag Helpers 
2
2
3
-
A collection of TagHelpers for ASP.NET Core that make utilizing the Bootstrap 4.x library easier to use for developers. Designed to reduce code effort substantially
3
+
A collection of TagHelpers for ASP.NET Core that make utilizing the Bootstrap 5.x library easier to use for developers. Designed to reduce code effort substantially
The goal of these tag helpers is to reduce the redundant coding, and compliance with various features of not only the Bootstrap library but form patterns. Within the "Samples" folder there are examples of all included tag helpers. However, the below shows a quick example of the power of these helps.
31
+
The goal of these tag helpers is to reduce the redundant coding, and compliance with various features of not only the Bootstrap library but form patterns. Within the "Sample" project you will find examples of all tag helper usage. However, the below shows a quick example of the power of these tag helpers.
32
32
33
-
### Before Usage
33
+
### Before Bootstrap 5 Tag Helper
34
34
35
35
The following markup is how you would output a model-bound field for a password field, including a note on complexity and validation.
36
36
@@ -45,7 +45,7 @@ The following markup is how you would output a model-bound field for a password
45
45
46
46
This is a total of *306* characters with spaces or *268* without. Granted we get some help with auto-complete etc.
47
47
48
-
### After Using
48
+
### After Using Bootstrap 5 Tag Helper
49
49
50
50
You can take the entire above example and simplify it to the following
51
51
@@ -64,11 +64,15 @@ At this time tag helpers have been implemented for the following elements.
64
64
65
65
| Element | Description of Implementation |
66
66
| --- | --- |
67
+
| Accordion | Full support for implementation of accordion, including stay-open modes |
67
68
| Alerts | Full support for implementation of alerts, including dismissible alerts |
68
69
| Badges | Full support for implementation of badges of all Bootstrap color variations |
69
70
| Buttons | Full support for implementation of buttons of all Bootstrap color variations, including outlines |
70
71
| Cards | Support for Card, Card Header, Card Header Actions, and Card body elements |
71
72
| Environment Alert | An extension of the `<environment>` tag helper to render as an alert style |
72
73
| Input | Support for Form input controls for anything tied to the `<input>` tag including ASP.NET Code Model Binding & Validation |
73
74
| Modals | Support for modal dialogs, including Modal Body, header, footer, dismiss, and toggles |
75
+
| Offcanvas | Full support for implementation of offcanvas display, including sizing/placement |
74
76
| TextArea | Support for Form input controls tied to the `<textarea>` tag including ASP.NET Core Model Binding & Validation |
77
+
78
+
If you find that we are missing a particular tag helper, we welcome contributions!
0 commit comments