createSlideRow
info
This API is only available in Figma Slides
Creates a new Slide Row, which automatically gets appended to the Slide Grid.
Signature
createSlideRow(row?: number): SlideRowNode
Remarks
By default, the row gets appended to the end of the Slide Grid.
Create a slide row
const slideRow = figma.createSlideRow()
To specify a position in the Slide Grid, pass a row index to the function.
Create a slide row at index 0
const slideRow = figma.createSlideRow(0)