Skip to content

NextPreviousNavigationNode

Overview

Shows a central node surrounded with next/previous arrows. Need to implement next(),previous(), and when availability changes modify hasNextProperty and hasPreviousProperty

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

Class NextPreviousNavigationNode

@deprecated Do not use in new code until https://github.com/phetsims/scenery-phet/issues/763 is addressed. This is currently used only in build-a-molecule.

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

Constructor

new NextPreviousNavigationNode( centerNode, selfOptions, nodeOptions )

Instance Methods

Source Code

See the source for NextPreviousNavigationNode.js in the scenery-phet repository.