@awayjs/core
Version:
AwayJS core classes
17 lines (16 loc) • 451 B
JavaScript
var EventBase = /** @class */ (function () {
function EventBase(type) {
this._iAllowedToPropagate = true;
this._iAllowedToImmediatlyPropagate = true;
this.type = type;
}
/**
* Clones the current event.
* @return An exact duplicate of the current event.
*/
EventBase.prototype.clone = function () {
return new EventBase(this.type);
};
return EventBase;
}());
export { EventBase };