Version 1, Update 5
New:
- The
figma.ui.on('message'),figma.on('selectionchange')andfigma.on('currentpagechange')APIs, which were previously proposed APIs can now be used in published plugins. - A new
figma.on('close')API for allowing you to run shutdown actions when the plugin closes.
Proposed API (how do they work?):
- An optional
positionoption infigma.showUI()with possible values'default' | 'last' | 'auto'