Skip to content

IDictionaryEvents

Type interface

Defines events from Dictionary.

Sources

IDictionaryEvents is an interface: it describes a shape of data and is not imported on its own.

Properties

cleared

Type object

Invoked when dictionary is cleared.

insertKey

Type { key: Key, newValue: Value }

Invoked when insertKey() method is called.

removed

Type { oldValue: Value }

Invoked when an item is removed from the dictionary.

removeKey

Type { key: Key, oldValue: Value }

Invoked when removeKey() method is called.

setKey

Type { key: Key, newValue: Value, oldValue: Value }

Invoked when setKey() method is called.