testcssusage

package
v0.2.543 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CSSComponentsAndConstantsAreSupported added in v0.2.476

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 added in v0.2.476

func CSSComponentsAreSupported() templ.Component

func ClassNamesAreHTMLEscaped added in v0.2.476

func ClassNamesAreHTMLEscaped() templ.Component

Class names are HTML escaped.

func KVCanBeUsedToConditionallySetClasses added in v0.2.476

func KVCanBeUsedToConditionallySetClasses() templ.Component

func MapsCanBeUsedToConditionallySetClasses added in v0.2.476

func MapsCanBeUsedToConditionallySetClasses() templ.Component

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

func PsuedoAttributesAndComplexClassNamesAreSupported added in v0.2.476

func PsuedoAttributesAndComplexClassNamesAreSupported() templ.Component

Pseudo attributes can be used without any special syntax.

func StyleTagsAreSupported added in v0.2.476

func StyleTagsAreSupported() templ.Component

Constant class.

func TestComponent added in v0.2.476

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