Added
- Added
->emitSelf('foo')
and->emitTo('counter', 'foo')
methods for more control over scoping event emission
(emitTo('counter', 'foo')
will emitfoo
to components namedcounter
)
(emitSelf('foo')
will emit thefoo
event to the component it was emitted from (self))
Fixed
- Deferred the loading of Alpine (v2.2.1 or greater) so that you can use
@this.on()
inside of Alpine directives likex-init