Skip to content

ZoomButton

Overview

Zoom button, has an icon with a magnifying glass, with either a plus or minus sign in the center of the glass.

@author Chris Malley (PixelZoom, Inc.)

Class ZoomButton

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

Constructor

new ZoomButton( providedOptions? : ZoomButtonOptions )

Instance Methods

Type ZoomButtonOptions

import type { ZoomButtonOptions } from 'scenerystack/scenery-phet';

Source Code

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