Skip to content

Separator

Overview

Base type for a line-divider (when put in a layout container, it will be hidden if it is before/after all visible components, or if it's after another a divider in the visible order).

@author Jonathan Olson <jonathan.olson@colorado.edu>

Class Separator

import { Separator } from 'scenerystack/scenery';

Constructor

new Separator( providedOptions? : SeparatorOptions )

Instance Methods

Type SeparatorOptions

Separators are automatically shown/hidden and hence should not be instrumented for PhET-iO control.

import type { SeparatorOptions } from 'scenerystack/scenery';

StrictOmit<LineOptions, "tandem">

Source Code

See the source for Separator.ts in the scenery repository.