getActiveManagedCollection

getActiveManagedCollection

getActiveManagedCollection

Retrieve the currently active managed Collection from the UI.

const collection = await framer.getActiveManagedCollection();

Returns

  • Promise<ManagedCollection | null> – The active managed Collection or null if none is active.

Caveats

  • Only applies when the Plugin is operating in a mode that supports managed Collections.

  • When no managed Collection is active, this method returns null.