Skip to content

ZoomButton

Under Construction

This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/scenery-phet/blob/main/js/buttons/ZoomButton.ts for the most up-to-date information.

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.