Client- Side API Reference / JSONOperationEventArgs Class
JSONOperationEventArgs Class
File
c1.mvc.js
Module
c1.mvc
Base Class
CancelEventArgs

Provides arguments for json operation events.

Constructor

Properties

Methods

Events

Constructor

constructor

constructor(key: string, value: any, parent: any): JSONOperationEventArgs

Initializes a new instance of the JSONOperationEventArgs class.

Parameters
  • key: string

    The name of the item.

  • value: any

    The value of the item.

  • parent: any

    The object owns the item.

Returns
JSONOperationEventArgs

Properties

cancel

Gets or sets a value that indicates whether the event should be canceled.

Inherited From
CancelEventArgs
Type
boolean

key

Gets the name of the item.

Type
any

parent

Gets the parent object which owns the item.

Type
string

result

Gets or sets the operation result for some item.

Type
any

value

Gets the value of the item.

Type
any

Methods

Static cast

cast(obj: any): JSONOperationEventArgs

Casts the specified object to JSONOperationEventArgs type.

Parameters
  • obj: any

    The object to cast.

Returns
JSONOperationEventArgs

Events

Static empty

Provides a value to use with events that do not have event data.

Inherited From
EventArgs
Arguments
EventArgs