UNPKG

@robotlegsjs/core

Version:

An architecture-based IoC framework for JavaScript/TypeScript

75 lines 2.5 kB
"use strict"; // ------------------------------------------------------------------------------ // Copyright (c) 2017-present, RobotlegsJS. All Rights Reserved. // // NOTICE: You are permitted to use, modify, and distribute this file // in accordance with the terms of the license agreement accompanying it. // ------------------------------------------------------------------------------ Object.defineProperty(exports, "__esModule", { value: true }); exports.DomEventMapConfig = void 0; /** * @private */ var DomEventMapConfig = /** @class */ (function () { /*============================================================================*/ /* Constructor */ /*============================================================================*/ /** * @private */ function DomEventMapConfig(dispatcher, eventString, listener, options) { this._dispatcher = dispatcher; this._eventString = eventString; this._listener = listener; this._options = options; } Object.defineProperty(DomEventMapConfig.prototype, "dispatcher", { /** * @private */ get: function () { return this._dispatcher; }, enumerable: false, configurable: true }); Object.defineProperty(DomEventMapConfig.prototype, "eventString", { /** * @private */ get: function () { return this._eventString; }, enumerable: false, configurable: true }); Object.defineProperty(DomEventMapConfig.prototype, "listener", { /** * @private */ get: function () { return this._listener; }, enumerable: false, configurable: true }); Object.defineProperty(DomEventMapConfig.prototype, "options", { /** * @private */ get: function () { return this._options; }, enumerable: false, configurable: true }); DomEventMapConfig.prototype.equalTo = function (dispatcher, eventString, listener, options) { return (this._dispatcher === dispatcher && this._eventString === eventString && this._listener === listener && this._options === options); }; return DomEventMapConfig; }()); exports.DomEventMapConfig = DomEventMapConfig; //# sourceMappingURL=DomEventMapConfig.js.map