testcssusage

package
v0.2.546 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 29, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CSSComponentsAndConstantsAreSupported

func CSSComponentsAndConstantsAreSupported() templ.Component

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 CSSComponentsAreSupported

func CSSComponentsAreSupported() templ.Component

func ClassNamesAreHTMLEscaped

func ClassNamesAreHTMLEscaped() templ.Component

Class names are HTML escaped.

func KVCanBeUsedToConditionallySetClasses

func KVCanBeUsedToConditionallySetClasses() templ.Component

func MapsCanBeUsedToConditionallySetClasses

func MapsCanBeUsedToConditionallySetClasses() templ.Component

Maps can be used to determine if a class should be added or not.

func PsuedoAttributesAndComplexClassNamesAreSupported

func PsuedoAttributesAndComplexClassNamesAreSupported() templ.Component

Pseudo attributes can be used without any special syntax.

func StyleTagsAreSupported

func StyleTagsAreSupported() templ.Component

Constant class.

func TestComponent

func TestComponent() templ.Component

Combine all tests.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL