EventEmitter doc
This commit is contained in:
parent
8025d84427
commit
a190100cae
|
@ -1,5 +1,8 @@
|
||||||
import {kebabToCamel} from './string';
|
import {kebabToCamel} from './string';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Implemented by all those classes that emit events.
|
||||||
|
*/
|
||||||
export default class EventEmitter {
|
export default class EventEmitter {
|
||||||
constructor($element, $scope) {
|
constructor($element, $scope) {
|
||||||
if (!$element) return;
|
if (!$element) return;
|
||||||
|
|
Loading…
Reference in New Issue