igniteui-angular-inputs
Version:
Ignite UI Angular input components for building rich data visualizations for modern web apps.
55 lines (54 loc) • 1.98 kB
JavaScript
import { CheckboxChangeEventArgs as CheckboxChangeEventArgs_internal } from "./CheckboxChangeEventArgs";
import { ensureBool } from "igniteui-angular-core";
var IgxCheckboxChangeEventArgs = /** @class */ /*@__PURE__*/ (function () {
function IgxCheckboxChangeEventArgs() {
this._implementation = this.createImplementation();
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
}
IgxCheckboxChangeEventArgs.prototype.createImplementation = function () {
return new CheckboxChangeEventArgs_internal();
};
Object.defineProperty(IgxCheckboxChangeEventArgs.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
IgxCheckboxChangeEventArgs.prototype.onImplementationCreated = function () {
};
IgxCheckboxChangeEventArgs.prototype._provideImplementation = function (i) {
this._implementation = i;
this._implementation.externalObject = this;
this.onImplementationCreated();
};
Object.defineProperty(IgxCheckboxChangeEventArgs.prototype, "isChecked", {
get: function () {
return this.i.isChecked;
},
set: function (v) {
this.i.isChecked = ensureBool(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxCheckboxChangeEventArgs.prototype, "isIndeterminate", {
get: function () {
return this.i.isIndeterminate;
},
set: function (v) {
this.i.isIndeterminate = ensureBool(v);
},
enumerable: false,
configurable: true
});
return IgxCheckboxChangeEventArgs;
}());
export { IgxCheckboxChangeEventArgs };