alpine

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2024 License: MIT Imports: 3 Imported by: 12

Documentation

Index

Constants

View Source
const (
	Prevent  = "prevent"
	Stop     = "stop"
	Outside  = "outside"
	Window   = "window"
	Document = "document"
	Once     = "once"
	Debounce = "debounce"
	Throttle = "throttle"
	Self     = "self"
	Camel    = "camel"
	Dot      = "dot"
	Passive  = "passive"
	Capture  = ".capture"
)
View Source
const (
	Shift    = "shift"
	Enter    = "enter"
	Space    = "space"
	Ctrl     = "ctrl"
	Cmd      = "cmd"
	Meta     = "meta"
	Alt      = "alt"
	Up       = "up"
	Right    = "right"
	Down     = "down"
	Left     = "left"
	Escape   = "escape"
	Tab      = "tab"
	CapsLock = "caps-lock"
	Equal    = "equal"
	Period   = "period"
	Comma    = "comma"
	Slash    = "slash"
)

Variables

View Source
var (
	Magic = magic{
		Event: "$event",
		El:    "$el",
		Refs:  "$refs",
		Store: "$store",
		Root:  "$root",
		Data:  "$data",
	}
)

Functions

func Bind

func Bind(name string, value ...string) gox.Node

func Blur added in v0.1.1

func Blur(script string, modifiers ...string) gox.Node

func Change added in v0.1.1

func Change(script string, modifiers ...string) gox.Node

func Class

func Class(value map[string]string) gox.Node

func Click

func Click(script string, modifiers ...string) gox.Node

func Cloak

func Cloak() gox.Node

func CreateEvent

func CreateEvent(name string, script string, modifiers ...string) gox.Node

func Data

func Data(data map[string]any) gox.Node

func Directive

func Directive(name, value string) gox.Node

func DragLeave added in v0.1.1

func DragLeave(script string, modifiers ...string) gox.Node

func DragOver added in v0.1.1

func DragOver(script string, modifiers ...string) gox.Node

func Drop added in v0.1.1

func Drop(script string, modifiers ...string) gox.Node

func Effect

func Effect(script string) gox.Node

func For

func For(items string, item string, index ...string) gox.Node

func Html

func Html(value string) gox.Node

func Id

func Id(name string) gox.Node

func If

func If(condition string) gox.Node

func Ignore

func Ignore(script string) gox.Node

func Init

func Init(script string) gox.Node

func Input

func Input(script string, modifiers ...string) gox.Node

func KeyDown added in v0.2.2

func KeyDown(script string, modifiers ...string) gox.Node

func KeyUp

func KeyUp(script string, modifiers ...string) gox.Node

func Model

func Model(value string) gox.Node

func Modelable

func Modelable(condition string) gox.Node

func MouseEnter

func MouseEnter(script string, modifiers ...string) gox.Node

func MouseLeave

func MouseLeave(script string, modifiers ...string) gox.Node

func MouseMove

func MouseMove(script string, modifiers ...string) gox.Node

func Ref

func Ref(name string) gox.Node

func Scroll

func Scroll(script string, modifiers ...string) gox.Node

func Show

func Show(condition string) gox.Node

func Submit

func Submit(script string, modifiers ...string) gox.Node

func Teleport

func Teleport(selector string) gox.Node

func Text

func Text(value string) gox.Node

func Transition

func Transition() gox.Node

Types

This section is empty.

Jump to

Keyboard shortcuts

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