projects/wms-framework/src/lib/helpers/CancelEventArgs.ts
CancelEventArgs helper class.
Properties |
|
Accessors |
constructor(Cancel: boolean)
|
||||||||
Creates an instance of CancelEventArgs.
Parameters :
|
Private Cancel |
Type : boolean
|
Is cancel. |
cancel | ||||||
getcancel()
|
||||||
Gets or sets the Cancel of the event.
Returns :
boolean
|
||||||
setcancel(v: boolean)
|
||||||
Sets the cancel of the event
Parameters :
Returns :
void
|
export class CancelEventArgs {
/**
* Creates an instance of CancelEventArgs.
* @param {boolean} Cancel Cancel property to stop other events to trigger.
* @memberof CancelEventArgs
*/
constructor(Cancel: boolean = false) {
this.Cancel = Cancel;
}
/**
* Is cancel.
*
* @private
* @type {boolean}
*/
private Cancel: boolean;
/**
* Gets or sets the Cancel of the event.
*
* @type {number}
* @memberof CancelEventArgs
* @wProperty Cancel
*/
public get cancel(): boolean {
return this.Cancel;
}
/**
* Sets the cancel of the event
*
* @memberof CancelEventArgs
* @wProperty Cancel
*/
public set cancel(v: boolean) {
this.Cancel = v;
}
}