UNPKG

igniteui-react-inputs

Version:

Ignite UI React input components.

66 lines (65 loc) 2.24 kB
import { InputChangeEventArgs as InputChangeEventArgs_internal } from "./InputChangeEventArgs"; import { ensureBool } from "igniteui-react-core"; var IgrInputChangeEventArgs = /** @class */ /*@__PURE__*/ (function () { function IgrInputChangeEventArgs() { this.mounted = false; this._implementation = this.createImplementation(); this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } } IgrInputChangeEventArgs.prototype.createImplementation = function () { return new InputChangeEventArgs_internal(); }; Object.defineProperty(IgrInputChangeEventArgs.prototype, "nativeElement", { get: function () { return this._implementation.nativeElement; }, enumerable: false, configurable: true }); Object.defineProperty(IgrInputChangeEventArgs.prototype, "i", { /** * @hidden */ get: function () { return this._implementation; }, enumerable: false, configurable: true }); IgrInputChangeEventArgs.prototype.onImplementationCreated = function () { }; IgrInputChangeEventArgs.prototype._provideImplementation = function (i) { this._implementation = i; this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } }; Object.defineProperty(IgrInputChangeEventArgs.prototype, "value", { get: function () { return this.i.value; }, set: function (v) { this.i.value = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgrInputChangeEventArgs.prototype, "isCompositionInProgress", { get: function () { return this.i.isCompositionInProgress; }, set: function (v) { this.i.isCompositionInProgress = ensureBool(v); }, enumerable: false, configurable: true }); return IgrInputChangeEventArgs; }()); export { IgrInputChangeEventArgs };