Skip to content

InteractiveHighlighting

Under Construction

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

Overview

A trait for Node that mixes functionality to support visual highlights that appear on hover with a pointer.

@author Jesse Greenberg (PhET Interactive Simulations)

Type InteractiveHighlightingNodeType

NOTE!!! This used to be called "InteractiveHighlightingNode", which conflicts with (or is confusing) with the actual InteractiveHighlightingNode.ts type. Renamed here so they can be in the same namespace.

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

Node & TInteractiveHighlighting

Type InteractiveHighlightingOptions

import type { InteractiveHighlightingOptions } from 'scenerystack/scenery';
  • interactiveHighlight?: Highlight
  • interactiveHighlightLayerable?: boolean
  • interactiveHighlightEnabled?: boolean

Source Code

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