Events object with children that bubble up, applying modifiers
$ component install notablemind/scoped-events
If you pass in a function, it's treated as {all: <fn>}
.
options
is a hash of event_type: fn
, where fn
will be called
when the child emits an event that matches event_type
. Aserisks in
event_type
will match anything.
MIT