Skip to main content

$setCompositionKey

function

Sets the active composition key, marking the previous and new composition nodes as dirty for re-rendering.

function $setCompositionKey(compositionKey: null | NodeKey): void

Import

import { $setCompositionKey } from '@modular/sdk/editor';