EventEmitter doc

This commit is contained in:
Juan 2018-10-22 11:04:17 +02:00
parent 8025d84427
commit a190100cae
1 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,8 @@
import {kebabToCamel} from './string';
/**
* Implemented by all those classes that emit events.
*/
export default class EventEmitter {
constructor($element, $scope) {
if (!$element) return;