Documentation ¶
Index ¶
- func CSSComponentsAndConstantsAreSupported() templ.Component
- func CSSComponentsAreSupported() templ.Component
- func ClassNamesAreHTMLEscaped() templ.Component
- func KVCanBeUsedToConditionallySetClasses() templ.Component
- func MapsCanBeUsedToConditionallySetClasses() templ.Component
- func PsuedoAttributesAndComplexClassNamesAreSupported() templ.Component
- func StyleTagsAreSupported() templ.Component
- func TestComponent() templ.Component
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CSSComponentsAndConstantsAreSupported ¶
Both CSS components and constants are supported. Only string names are really required. There is no need to use templ.Class or templ.SafeClass.
func ClassNamesAreHTMLEscaped ¶
Class names are HTML escaped.
func MapsCanBeUsedToConditionallySetClasses ¶
Maps can be used to determine if a class should be added or not.
func PsuedoAttributesAndComplexClassNamesAreSupported ¶
Pseudo attributes can be used without any special syntax.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.