igniteui-angular-core
Version:
Ignite UI Angular Core logic used in multiple UI components.
54 lines (53 loc) • 1.73 kB
JavaScript
import { FocusEventArgs as FocusEventArgs_internal } from "./FocusEventArgs";
var IgxFocusEventArgs = /** @class */ /*@__PURE__*/ (function () {
function IgxFocusEventArgs() {
this._implementation = this.createImplementation();
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
}
IgxFocusEventArgs.prototype.createImplementation = function () {
return new FocusEventArgs_internal();
};
Object.defineProperty(IgxFocusEventArgs.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
IgxFocusEventArgs.prototype.onImplementationCreated = function () {
};
IgxFocusEventArgs.prototype._provideImplementation = function (i) {
this._implementation = i;
this._implementation.externalObject = this;
this.onImplementationCreated();
};
Object.defineProperty(IgxFocusEventArgs.prototype, "target", {
get: function () {
return this.i.b;
},
set: function (v) {
this.i.b = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxFocusEventArgs.prototype, "fromTarget", {
get: function () {
return this.i.a;
},
set: function (v) {
this.i.a = v;
},
enumerable: false,
configurable: true
});
return IgxFocusEventArgs;
}());
export { IgxFocusEventArgs };