dhtags.attrs.define

Members

Templates

DefineAttr
template DefineAttr(alias name, TVal...)

Helper template to ensure all attributes can take values of type string.

DefineAttrWithTypes
template DefineAttrWithTypes(alias name, TVal...)

Define an html attribute with name and a list of types it accepts for its value.

DefineBooleanAttr
template DefineBooleanAttr(alias name, TVal...)

Define a boolean html attribute with name and additional list of values. If present, the attribute's value will be rendered as an exact match of the attribute's name.

Meta