NotifyCollectionChangedEventArgs Class
File
wijmo.js
Module
wijmo.collections
Base Class
EventArgs

Provides data for the collectionChanged event.

Constructor

Properties

Events

Constructor

constructor

constructor(action?: NotifyCollectionChangedAction, item?: T, index?: number): NotifyCollectionChangedEventArgs

Initializes a new instance of the NotifyCollectionChangedEventArgs class.

Parameters
  • action: NotifyCollectionChangedAction Optional

    Type of action that caused the event to fire.

  • item: T Optional

    Item that was added or changed.

  • index: number Optional

    Index of the item.

Returns
NotifyCollectionChangedEventArgs

Properties

action

Gets the action that caused the event to fire.

Type
NotifyCollectionChangedAction

index

Gets the index at which the change occurred.

Type
number

item

Gets the item that was added, removed, or changed.

Type
T

Static reset

Provides a reset notification.

Type
NotifyCollectionChangedEventArgs

Events

Static empty

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

Inherited From
EventArgs
Arguments
EventArgs