testcssusage

package
v0.2.680 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: MIT Imports: 7 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 CSSComponentsCanBeUsedWithArguments added in v0.2.590

func CSSComponentsCanBeUsedWithArguments() 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 Rotate added in v0.2.619

func Rotate(degrees float64) templ.Component

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