HxCss

object HxCss(source)

Constants for HTMX CSS classes.

Report a problem

See also

Properties

Link copied to clipboard
const val Added: String

Applied to a new piece of content before it is swapped, removed after it is settled.

Link copied to clipboard
const val Indicator: String

A dynamically generated class that will toggle visible (opacity:1) when a htmx-request class is present

Link copied to clipboard
const val Request: String

Applied to either the element or the element specified with hx-indicator while a request is ongoing

Link copied to clipboard
const val Settling: String

Applied to a target after content is swapped, removed after it is settled. The duration can be modified via hx-swap.

Link copied to clipboard
const val Swapping: String

Applied to a target before any content is swapped, removed after it is swapped. The duration can be modified via hx-swap.