Documentation ¶
Index ¶
- type EventData
- type EventEmitters
- func (e *EventEmitters) Clear()
- func (e *EventEmitters) Emit(key string, data EventData)
- func (e *EventEmitters) Off(key string, handler Handler, target string)
- func (e *EventEmitters) OffByTarget(target string)
- func (e *EventEmitters) On(key string, handler Handler, target string) bool
- func (e *EventEmitters) Once(key string, handler Handler, target string) bool
- func (e *EventEmitters) SetCatch(catch func())
- type Handler
- type PosElement
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventEmitters ¶
type EventEmitters struct {
// contains filtered or unexported fields
}
func Default ¶
func Default() *EventEmitters
func NewEventEmitters ¶
func NewEventEmitters() *EventEmitters
func (*EventEmitters) Clear ¶
func (e *EventEmitters) Clear()
func (*EventEmitters) Emit ¶
func (e *EventEmitters) Emit(key string, data EventData)
func (*EventEmitters) OffByTarget ¶
func (e *EventEmitters) OffByTarget(target string)
func (*EventEmitters) On ¶
func (e *EventEmitters) On(key string, handler Handler, target string) bool
func (*EventEmitters) Once ¶
func (e *EventEmitters) Once(key string, handler Handler, target string) bool
func (*EventEmitters) SetCatch ¶
func (e *EventEmitters) SetCatch(catch func())
type PosElement ¶
type PosElement struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.