Complete the code to set vertical scrolling in a Figma frame.
frame.scrollBehavior = '[1]';
Setting scrollBehavior to vertical enables vertical scrolling inside the frame.
Complete the code to enable horizontal scrolling in a Figma frame.
frame.scrollBehavior = '[1]';
Setting scrollBehavior to horizontal allows the frame to scroll left and right.
Fix the error in the code to correctly set no scrolling in a Figma frame.
frame.scrollBehavior = '[1]';
Setting scrollBehavior to none disables scrolling inside the frame.
Fill both blanks to set vertical scrolling and enable horizontal overflow in a Figma frame.
frame.scrollBehavior = '[1]'; frame.overflowDirection = '[2]';
Setting scrollBehavior to vertical enables vertical scrolling, and overflowDirection to both allows horizontal overflow as well.
Fill all three blanks to set horizontal scrolling, disable vertical overflow, and set scroll snap to start in a Figma frame.
frame.scrollBehavior = '[1]'; frame.overflowDirection = '[2]'; frame.scrollSnapType = '[3]';
Setting scrollBehavior to horizontal enables horizontal scrolling, overflowDirection to none disables vertical overflow, and scrollSnapType to start aligns scroll snapping to the start.