Packages > @fluidframework/map > IValueChanged

IValueChanged Interface

Type of “valueChanged” event parameter.

This API is provided for existing users, but is not recommended for new users.

To use, import via @fluidframework/map/legacy.

For more information about our API support guarantees, see here .

Signature

/** @sealed */
export interface IValueChanged

Properties

Property Alerts Modifiers Type Description
key Legacy readonly string The key storing the value that changed.
previousValue Legacy readonly any The value that was stored at the key prior to the change.

Property Details

key

The key storing the value that changed.

This API is provided for existing users, but is not recommended for new users.

To use, import via @fluidframework/map/legacy.

For more information about our API support guarantees, see here .

Signature

readonly key: string;

Type: string

previousValue

The value that was stored at the key prior to the change.

This API is provided for existing users, but is not recommended for new users.

To use, import via @fluidframework/map/legacy.

For more information about our API support guarantees, see here .

Signature

readonly previousValue: any;

Type: any