Skip to main content

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 fluid-framework/legacy.

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

Sealed

This type is "sealed," meaning that code outside of the library defining it should not implement or extend it. Future versions of this type may add members or make typing of readonly members more specific.

Signature

/** @sealed */
export interface IValueChanged

Properties

Property Modifiers Type Description
key readonly string The key storing the value that changed.
previousValue 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.

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

Sealed

This type is "sealed," meaning that code outside of the library defining it should not implement or extend it. Future versions of this type may add members or make typing of readonly members more specific.

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.

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

Sealed

This type is "sealed," meaning that code outside of the library defining it should not implement or extend it. Future versions of this type may add members or make typing of readonly members more specific.

Signature
readonly previousValue: any;

Type: any