gridaco / assistant

🤖 Bring your Figma design & development pipeline to the next level - with design to code, in-design-content-management, component management, tools for faster design
https://grida.co/assistant
Other
572 stars 47 forks source link

Add event:selectionchange Wrapper #105

Open softmarshmallow opened 3 years ago

softmarshmallow commented 3 years ago

the event selectionchange behaves all different by design platforms.

I.e. on figma, when editing a text value, selectionchange gets invoked every type sequence. We'll have to make a new event called unique_selectionchange for general purpose, the logic will have arguments [time, id]. So it can prevent duplicated event invoke, measured by time diff and id.