alpine

package
v1.3.27 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func XBind

func XBind(selector string, data string) htmx.Node

XBind returns an attribute that tells Alpine.js to bind a value to an element.

func XCloak

func XCloak() htmx.Node

XCloak returns an attribute that tells Alpine.js to hide an element until it is initialized.

func XData

func XData(data string) htmx.Node

XData returns an attribute that tells Alpine.js to ignore an element.

func XEffect

func XEffect(customize string) htmx.Node

XEffect returns an attribute that tells Alpine.js to apply an effect to an element.

func XFor

func XFor(data string) htmx.Node

XFor returns an attribute that tells Alpine.js to loop over an array.

func XHtml

func XHtml(data string) htmx.Node

XHtml returns an attribute that tells Alpine.js to bind a value to an element's inner HTML.

func XId

func XId(data string) htmx.Node

XId returns an attribute that tells Alpine.js to set an element's ID.

func XIf

func XIf(data string) htmx.Node

XIf returns an attribute that tells Alpine.js to conditionally show an element.

func XIgnore

func XIgnore() htmx.Node

XIgnore returns an attribute that tells Alpine.js to ignore an element.

func XInit

func XInit(data string) htmx.Node

XInit returns an attribute that tells Alpine.js to run a function when an element is initialized.

func XModel

func XModel(data string) htmx.Node

XModel returns an attribute that tells Alpine.js to bind a value to an input element.

func XModelable

func XModelable(data string) htmx.Node

XModelable returns an attribute that tells Alpine.js to bind a value to an input element.

func XOn

func XOn(selector string, data string) htmx.Node

XOn returns an attribute that tells Alpine.js to listen for an event on an element.

func XRef

func XRef(name string) htmx.Node

XRef returns an attribute that tells Alpine.js to reference an element.

func XShow

func XShow(data string) htmx.Node

XShow returns an attribute that tells Alpine.js to show an element.

func XTeleport

func XTeleport(data string) htmx.Node

XTeleport returns an attribute that tells Alpine.js to move an element to a different location in the DOM.

func XText

func XText(data string) htmx.Node

XText returns an attribute that tells Alpine.js to bind a value to an element's text content.

func XTransition

func XTransition(customize string) htmx.Node

XTransition returns an attribute that tells Alpine.js to apply a transition to an element.

Types

This section is empty.

Jump to

Keyboard shortcuts

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