UNPKG

igniteui-angular-core

Version:

Ignite UI Angular Core logic used in multiple UI components.

35 lines (34 loc) 958 B
import { CancelEventArgs as CancelEventArgs_internal } from "./CancelEventArgs"; import { ensureBool } from "./componentUtil"; export class IgxCancelEventArgs { constructor() { this._implementation = this.createImplementation(); this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } } createImplementation() { return new CancelEventArgs_internal(0); } /** * @hidden */ get i() { return this._implementation; } onImplementationCreated() { } _provideImplementation(i) { this._implementation = i; this._implementation.externalObject = this; this.onImplementationCreated(); } get cancel() { return this.i.cancel; } set cancel(v) { this.i.cancel = ensureBool(v); } }