File

projects/wms-framework/src/lib/helpers/CancelEventArgs.ts

Description

CancelEventArgs helper class.

Index

Properties
Accessors

Constructor

constructor(Cancel: boolean)

Creates an instance of CancelEventArgs.

Parameters :
Name Type Optional Description
Cancel boolean No

Cancel property to stop other events to trigger.

Properties

Private Cancel
Type : boolean

Is cancel.

Accessors

cancel
getcancel()

Gets or sets the Cancel of the event.

Returns : boolean
setcancel(v: boolean)

Sets the cancel of the event

Parameters :
Name Type Optional
v boolean No
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;
  }
}

result-matching ""

    No results matching ""