igniteui-react-core
Version:
Ignite UI React Core.
65 lines (64 loc) • 2.02 kB
JavaScript
import { FocusEventArgs as FocusEventArgs_internal } from "./FocusEventArgs";
var IgrFocusEventArgs = /** @class */ /*@__PURE__*/ (function () {
function IgrFocusEventArgs() {
this.mounted = false;
this._implementation = this.createImplementation();
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
}
IgrFocusEventArgs.prototype.createImplementation = function () {
return new FocusEventArgs_internal();
};
Object.defineProperty(IgrFocusEventArgs.prototype, "nativeElement", {
get: function () {
return this._implementation.nativeElement;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrFocusEventArgs.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
IgrFocusEventArgs.prototype.onImplementationCreated = function () {
};
IgrFocusEventArgs.prototype._provideImplementation = function (i) {
this._implementation = i;
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
};
Object.defineProperty(IgrFocusEventArgs.prototype, "target", {
get: function () {
return this.i.b;
},
set: function (v) {
this.i.b = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrFocusEventArgs.prototype, "fromTarget", {
get: function () {
return this.i.a;
},
set: function (v) {
this.i.a = v;
},
enumerable: false,
configurable: true
});
return IgrFocusEventArgs;
}());
export { IgrFocusEventArgs };