hyperscript

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2025 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Event_mutation     = "mutation"
	Event_intersection = "intersection"
)

artificial events by htmx

View Source
const (
	Event_abort              = "abort"
	Event_afterprint         = "afterprint"
	Event_animationend       = "animationend"
	Event_animationiteration = "animationiteration"
	Event_animationstart     = "animationstart"
	Event_beforeprint        = "beforeprint"
	Event_beforeunload       = "beforeunload"
	Event_blur               = "blur"
	Event_canplay            = "canplay"
	Event_canplaythrough     = "canplaythrough"
	Event_change             = "change"
	Event_click              = "click"
	Event_contextmenu        = "contextmenu"
	Event_copy               = "copy"
	Event_cut                = "cut"
	Event_dblclick           = "dblclick"
	Event_drag               = "drag"
	Event_dragend            = "dragend"
	Event_dragenter          = "dragenter"
	Event_dragleave          = "dragleave"
	Event_dragover           = "dragover"
	Event_dragstart          = "dragstart"
	Event_drop               = "drop"
	Event_durationchange     = "durationchange"
	Event_ended              = "ended"
	Event_error              = "error"
	Event_focus              = "focus"
	Event_focusin            = "focusin"
	Event_focusout           = "focusout"
	Event_fullscreenchange   = "fullscreenchange"
	Event_fullscreenerror    = "fullscreenerror"
	Event_hashchange         = "hashchange"
	Event_input              = "input"
	Event_invalid            = "invalid"
	Event_keydown            = "keydown"
	Event_keypress           = "keypress"
	Event_keyup              = "keyup"
	Event_load               = "load"
	Event_loadeddata         = "loadeddata"
	Event_loadedmetadata     = "loadedmetadata"
	Event_loadstart          = "loadstart"
	Event_message            = "message"
	Event_mousedown          = "mousedown"
	Event_mouseenter         = "mouseenter"
	Event_mouseleave         = "mouseleave"
	Event_mousemove          = "mousemove"
	Event_mouseover          = "mouseover"
	Event_mouseout           = "mouseout"
	Event_mouseup            = "mouseup"
	Event_mousewheel         = "mousewheel"
	Event_offline            = "offline"
	Event_online             = "online"
	Event_open               = "open"
	Event_pagehide           = "pagehide"
	Event_pageshow           = "pageshow"
	Event_paste              = "paste"
	Event_pause              = "pause"
	Event_play               = "play"
	Event_playing            = "playing"
	Event_popstate           = "popstate"
	Event_progress           = "progress"
	Event_ratechange         = "ratechange"
	Event_resize             = "resize"
	Event_reset              = "reset"
	Event_scroll             = "scroll"
	Event_search             = "search"
	Event_seeked             = "seeked"
	Event_seeking            = "seeking"
	Event_select             = "select"
	Event_show               = "show"
	Event_stalled            = "stalled"
	Event_storage            = "storage"
	Event_submit             = "submit"
	Event_suspend            = "suspend"
	Event_timeupdate         = "timeupdate"
	Event_toggle             = "toggle"
	Event_touchcancel        = "touchcancel"
	Event_touchend           = "touchend"
	Event_touchmove          = "touchmove"
	Event_touchstart         = "touchstart"
	Event_transitionend      = "transitionend"
	Event_unload             = "unload"
	Event_volumechange       = "volumechange"
	Event_waiting            = "waiting"
	Event_wheel              = "wheel"
)

normal html dom events

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event string

type EventHandler

type EventHandler struct {
	Event          Event
	EventParams    []string
	Every          bool
	SelectorFilter string
	ShowWhenFilter [2]string
	Count          string // 1 | 2 to 10 | 11 and on
	From           string // selector
	Debounced      string
	Throttled      string
	Or             *EventHandler
	Queue          string // all | first | last | none
	Command        string
}

func (EventHandler) Attr

func (e EventHandler) Attr() (a html.SingleAttr)

Jump to

Keyboard shortcuts

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