Versions in this module Expand all Collapse all v1 v1.2.0 Sep 17, 2024 Changes in this version + type Event struct + func Attached(value js.Value) *Event + func New(id string, c chan bool) *Event + func (event *Event) Condition(condition, expected string) + func (event *Event) Match() bool + func (event *Event) Run() + func (event *Event) Running() bool + func (event *Event) Subscribe(name string, fn func(js.Value, []js.Value) interface{}) + func (event *Event) Unsubscribe(name string) + func (event *Event) Value() js.Value