Skip to content

TwoColumnKeyboardHelpContent

Overview

TwoColumnKeyboardHelpContentOptions handles layout of KeyboardHelpSections in 2 columns.

@author Jesse Greenberg

Class TwoColumnKeyboardHelpContent

import { TwoColumnKeyboardHelpContent } from 'scenerystack/scenery-phet';

Constructor

new TwoColumnKeyboardHelpContent( leftSections : KeyboardHelpSection[], rightSections : KeyboardHelpSection[], providedOptions? : TwoColumnKeyboardHelpContentOptions )

Instance Methods

Type TwoColumnKeyboardHelpContentOptions

import type { TwoColumnKeyboardHelpContentOptions } from 'scenerystack/scenery-phet';
  • columnSpacing?: number
    spacing between the left and right columns of the help content
  • sectionSpacing?: number
    vertical spacing between KeyboardHelpSections in each column
  • & StrictOmit<NodeOptions, "children">

Source Code

See the source for TwoColumnKeyboardHelpContent.ts in the scenery-phet repository.