Skip to content

ArrowKeyNode

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/keyboard/ArrowKeyNode.ts for the most up-to-date information.

Overview

Node that looks like an arrow key on the keyboard. Default is a rounded triangle centered in a square key.

@author Jesse Greenberg

Class ArrowKeyNode

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

Constructor

new ArrowKeyNode( direction : Direction, providedOptions? : ArrowKeyNodeOptions )

Instance Methods

Type ArrowKeyNodeOptions

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

Source Code

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