Skip to main content

IOdspContainerServicesEvents Interface

Events emitted by the ODSP container service to notify consumers of select container changes.

This API is provided as a beta preview and may change without notice.

To use, import via @fluidframework/odsp-client/beta.

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 IOdspContainerServicesEvents

Properties

PropertyAlertsTypeDescription
readOnlyStateChangedBeta() => voidEmitted when the read-only state of the container changes. Consumers can call OdspContainerServices.getReadOnlyState() to get the updated value.
sensitivityLabelsInfoChangedBeta() => voidEmitted when the sensitivity label of the container changes. Consumers can call OdspContainerServices.getSensitivityLabelsInfo() to get the updated value.

Property Details

readOnlyStateChanged

Emitted when the read-only state of the container changes. Consumers can call OdspContainerServices.getReadOnlyState() to get the updated value.

This API is provided as a beta preview and may change without notice.

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

Signature

readOnlyStateChanged: () => void;

Type: () => void

sensitivityLabelsInfoChanged

Emitted when the sensitivity label of the container changes. Consumers can call OdspContainerServices.getSensitivityLabelsInfo() to get the updated value.

This API is provided as a beta preview and may change without notice.

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

Signature

sensitivityLabelsInfoChanged: () => void;

Type: () => void