Home > @uniformdev/canvas-react > useUniformContextualEditingState

useUniformContextualEditingState() function

Returns the state of contextual editing, when the app is open inside Canvas Editor. This hook can be used to improve the editing experience of your team. For example: You can use selectedComponentReference to control which element to show inside a carousel or an accordion.

Signature:

Parameters

ParameterTypeDescription
{ global, }UseUniformContextualEditingStateProps(Optional)

Returns:

UseUniformContextualEditingStateReturnType