IOdspContainerServicesEvents Interface
Events emitted by the ODSP container service to notify consumers of select container changes.
To use, import via @fluidframework/odsp-client/beta.
For more information about our API support guarantees, see here.
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
| Property | Alerts | Type | Description |
|---|---|---|---|
| readOnlyStateChanged | Beta | () => void | Emitted when the read-only state of the container changes. Consumers can call OdspContainerServices.getReadOnlyState() to get the updated value. |
| sensitivityLabelsInfoChanged | Beta | () => void | Emitted 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.
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.
For more information about our API support guarantees, see here.
Signature
sensitivityLabelsInfoChanged: () => void;
Type: () => void