Documentation
¶
Index ¶
- func Bootstrap[T any](reg js.ClassBuilder[T])
- type MouseEvent
- type PointerEvent
- type UIEvent
- func (w UIEvent[T]) Constructor(cbCtx js.CallbackContext[T]) (js.Value[T], error)
- func (w UIEvent[T]) CreateInstance(cbCtx js.CallbackContext[T], type_ string) (js.Value[T], error)
- func (w UIEvent[T]) CreateInstanceEventInitDict(cbCtx js.CallbackContext[T], type_ string, options ...interface{}) (js.Value[T], error)
- func (wrapper UIEvent[T]) Initialize(jsClass js.Class[T])
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Bootstrap ¶
func Bootstrap[T any](reg js.ClassBuilder[T])
Types ¶
type MouseEvent ¶
func NewMouseEvent ¶
func NewMouseEvent[T any](host js.ScriptEngine[T]) MouseEvent[T]
func (MouseEvent[T]) Constructor ¶
func (w MouseEvent[T]) Constructor(cbCtx js.CallbackContext[T]) (js.Value[T], error)
func (MouseEvent[T]) Initialize ¶
func (wrapper MouseEvent[T]) Initialize(jsClass js.Class[T])
type PointerEvent ¶
type PointerEvent[T any] struct { MouseEvent[T] }
func NewPointerEvent ¶
func NewPointerEvent[T any](host js.ScriptEngine[T]) PointerEvent[T]
func (PointerEvent[T]) Constructor ¶
func (w PointerEvent[T]) Constructor(cbCtx js.CallbackContext[T]) (js.Value[T], error)
func (PointerEvent[T]) Initialize ¶
func (wrapper PointerEvent[T]) Initialize(jsClass js.Class[T])
type UIEvent ¶
type UIEvent[T any] struct{}
func NewUIEvent ¶
func NewUIEvent[T any](scriptHost js.ScriptEngine[T]) *UIEvent[T]
func (UIEvent[T]) Constructor ¶
func (UIEvent[T]) CreateInstance ¶
func (UIEvent[T]) CreateInstanceEventInitDict ¶
func (UIEvent[T]) Initialize ¶
Click to show internal directories.
Click to hide internal directories.