eventjs

package
Version: v0.0.0-...-ee0865d Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CallbackList

type CallbackList struct {
	InvokeFunc func(handler *js.Object, params ...interface{})
	// contains filtered or unexported fields
}

*

* 回调列表

func NewCallbackList

func NewCallbackList(invokeFunc func(handler *js.Object, params ...interface{})) *CallbackList

func (*CallbackList) Add

func (cl *CallbackList) Add(handler *js.Object)

func (*CallbackList) Clear

func (cl *CallbackList) Clear()

func (*CallbackList) Dispatch

func (cl *CallbackList) Dispatch(params ...interface{})

func (*CallbackList) Remove

func (cl *CallbackList) Remove(handler *js.Object)

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL