Documentation ¶
Index ¶
Constants ¶
View Source
const ( PreventDefault = js.PreventDefault StopPropagation = js.StopPropagation StopImmediatePropagation = js.StopImmediatePropagation )
Variables ¶
View Source
var ( Window = js.Global().Get("window") Document = js.Global().Get("document") )
Functions ¶
func QuerySelector ¶
Types ¶
type Callback ¶
func NewCallback ¶
func NewEventCallback ¶
func NewEventCallback(flags EventCallbackFlag, fn func(event Value)) Callback
type EventCallbackFlag ¶
type EventCallbackFlag = js.EventCallbackFlag
Click to show internal directories.
Click to hide internal directories.