Skip to content

VerticalCheckboxGroup

Overview

Convenience type for creating a group of Checkboxes with vertical orientation.

@author Sam Reid (PhET Interactive Simulations) @author Chris Malley (PixelZoom, Inc.)

Class VerticalCheckboxGroup

import { VerticalCheckboxGroup } from 'scenerystack/sun';

Constructor

new VerticalCheckboxGroup( items : VerticalCheckboxGroupItem[], providedOptions? : VerticalCheckboxGroupOptions )

Instance Methods

dispose()

Type VerticalCheckboxGroupItem

import type { VerticalCheckboxGroupItem } from 'scenerystack/sun';

Type VerticalCheckboxGroupOptions

import type { VerticalCheckboxGroupOptions } from 'scenerystack/sun';
  • checkboxOptions?: StrictOmit<CheckboxOptions, "tandem">
  • touchAreaXDilation?: number
  • mouseAreaXDilation?: number
  • & StrictOmit<VBoxOptions, "children">

Source Code

See the source for VerticalCheckboxGroup.ts in the sun repository.