Please search for existing topics before posting! Press 🔍 at the upper right to search.layoutMode | Plugin API
How to create a new frame and set the layout mode to be wrap rather than horizontal or vertical please?
Can do for vertical like this:
var frameWrapper = Figma.createFrame();
frameWrapper.name = “spans”;
frameWrapper.x = 100;
frameWrapper.y = 100;
frameWrapper.layoutMode = ‘VERTICAL’; // layoutMode: ‘NONE’ | ‘HORIZONTAL’ | ‘VERTICAL’
But, the documentation does not show an option for ‘WRAP’
Are the docs just out of date, or is there another way please?