Created
December 5, 2019 10:38
-
-
Save ilyalesik/af9b07b17c383ba5ea94a998f5451651 to your computer and use it in GitHub Desktop.
Figma samples
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Creating text with zero width and wrapping any symbols to the next line | |
const textNode = figma.createText(); | |
textNode.textAutoResize = 'HEIGHT'; | |
textNode.characters = "some text"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment