$emit Property
$emit
is a method that constructs a CustomEvent
and emits it globally. This can be useful for propogating information to different components by using the l-on
directive.
Syntax: $emit([event], [options])
Example: $emit('foo')
$emit
is a method that constructs a CustomEvent
and emits it globally. This can be useful for propogating information to different components by using the l-on
directive.
Syntax: $emit([event], [options])
Example: $emit('foo')