View Code? Open in Web Editor
NEW
ASP.Net TagHelpers for the Twitter Bootstrap Framework
License: MIT License
C# 93.81%
PowerShell 3.86%
HTML 1.77%
JavaScript 0.42%
CSS 0.15%
bootstraptaghelpers's People
Contributors
bootstraptaghelpers's Issues
Implement HtmlAttributeMinimizableAttribute to tag properties which can be minimized
Implment method in BootstrapTagHelper to fill all minimizable bools
nav tag
stacked attribute
justified attribute (disable in navbars)
a and dropdown tag for content
disabled attribute
remove href on disabled items ? (move to data-href?)
http://getbootstrap.com/components/#nav
horizontal-attribute (must be noted in ViewContext in some way to tell other controls to behave in that way)
inline-attribute
Text-Alignment (left, center, right, justify, nowrap)
Text-Transformation (lowercase, uppercase, capitalized)
pagination tag
automatically set prev an next buttons depending on active element
automatically set active state depneding on current url (auto-dect-active attribute)
deactivate-active attribute
size attribute
children tag:
active attribute
disabled attribute
http://getbootstrap.com/components/#pagination
media-list tag (optional)
media tag
media-object tag (left, right)
align attribute (top, middle, bottom)
src attribute
alt attribute
href attribute
media-body tag
add heading class to h1...6 elements
Apply to all elements
Context text attribute (Muted, Primary, Success, Info, Warning, Danger)
Context background attribute (Primary, Success, Info, Warning, Danger)
Pull left/right attributes
Center block attribute
Clearfix attribute
Show, hidden and invisible attributes
sr-only and sr-only-focusable attributes
Text hide attribute
Add form-control class
Label-attribute
If attribute is present but empty in model bound tag the text shall be computed from the model
inline-attribute for checkboxes and radios (should also be copied from the form tag if the inline-attribute is set there)
Add table class to every table
stripped-attribute
bordered-attribute
hover-attribute
condensed-attribute
overflow-attribute
contextual-class-attributes for rows and cells (active, success, info, warning, danger)
Label options as the other form controls
Model binding capability
Rounded attribute
Circle Attribute
Thumbnail attribute
Responsive Attribute
Row tag
Col tag
sizing attribute
offset attribute
push attribute
pull attribute
XsCol1-12 tags
SmCol1-12 tags
MdCol1-12 tags
LgCol1-12 tags
Clearfix tag
Container tag
list-group tag
context attribute
check if all children are items: render as ul
child tags:
list-group-item tag
list-group-link
list-group-button
active attribute
context attribute
disabled attribute
elements inside child tags must be styled with:
list-group-item-heading
list-group-item-text
https://getbootstrap.com/components/#list-group
Create new porject map with an ASP.Net vNext Class Library and all necessary references
Text-Alignment (left, center, right, justify, nowrap)
Text-Transformation (lowercase, uppercase, capitalized)
Lead
navbar tag
header attribute and tag
add navbar-btn class to included buttons that are not in forms
add navbar-text to text elements
disable-auto-style attribute on links
position attribute (default, static-top, fixed-top, fixed-bottom)
inverse attribute
Children tags:
header
collapse
navbar-form
http://getbootstrap.com/components/#navbar
Create a basic class from which all other classes will inherit which implements the bootstrap responisve utilities (Hide and show an element on specific screen sizes or for printing)
Available for a, button and input (with type= submit, reset or buttton) tags
btn class is automatically applied to button and input tags
btn class is applied to a tags tih b-button attribute
Contextual attribute:
Default (is applied by default (duh!))
Primary
Success
Info
Warning
Danger
Link
Size attribute (Large, Small , Extra small)
Block style attribute
Pressed Attribute
Add unstyled and inline attributes to ul tags
Text attribute
Dropup attribute
Alignment attribute (left/right)
Child elements:
Dropdown Header
Divider tag
Menu Item
Disabled attribute
Href attribute
ID attribute
Split-button tag
http://getbootstrap.com/components/#dropdowns
progress tag
wraps multiple progress-bar tags
progress-bar tag
standalone usable
value attribute
display-value attribute
context attribute (success, info, warning, danger)
stripped attribute
animate attribute
sr-text attribute
http://getbootstrap.com/components/#progress