ExplicitVariableModesMixin
Defined in: figmaPluginTypes.ts:8244
explicitVariableModes:
object
Defined in: figmaPluginTypes.ts:8250
The explicitly set modes for this node.
For SceneNodes, represents a subset of SceneNodeMixin.resolvedVariableModes.
Note that this does not include workspace and team-default modes.
[collectionId: string]: string
clearExplicitVariableModeForCollection(
collectionId):void
Defined in: figmaPluginTypes.ts:8258
Clears an explicit mode for the given collection on this node
string
void
Use clearExplicitVariableModeForCollection(VariableCollection) instead. This function will throw an exception if the plugin manifest contains "documentAccess": "dynamic-page".
clearExplicitVariableModeForCollection(
collection):void
Defined in: figmaPluginTypes.ts:8264
Clears an explicit mode for the given collection on this node
A variable collection. Make sure to pass a collection object here; passing a variable collection ID is deprecated.
void
setExplicitVariableModeForCollection(
collectionId,modeId):void
Defined in: figmaPluginTypes.ts:8270
Sets an explicit mode for the given collection on this node
string
string
void
Use setExplicitVariableModeForCollection(VariableCollection, Variable) instead. This function will throw an exception if the plugin manifest contains "documentAccess": "dynamic-page".
setExplicitVariableModeForCollection(
collection,modeId):void
Defined in: figmaPluginTypes.ts:8277
Sets an explicit mode for the given collection on this node
A variable collection. Make sure to pass a collection object here; passing a variable collection ID is deprecated.
string
A variable mode ID.
void