Skip to content

VBox

Overview

VBox is a convenience specialization of FlowBox with vertical orientation.

@author Jonathan Olson <jonathan.olson@colorado.edu> @author Sam Reid (PhET Interactive Simulations)

Class VBox

import { VBox } from 'scenerystack/scenery';

Constructor

new VBox( providedOptions? : VBoxOptions )

Instance Methods

onFlowBoxChildInserted( node : Node, index : number )

(protected)

mutate( options? : VBoxOptions ) : this

Type VBoxOptions

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

StrictOmit<FlowBoxOptions, "orientation">

Source Code

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