Skip to content

HighlightVisibilityController

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

Overview

A listener that manages the visibility of different highlights when switching between mouse/touch and alternative input for a Display.

@author Jesse Greenberg (PhET Interactive Simulations)

Class HighlightVisibilityController

import { HighlightVisibilityController } from 'scenerystack/scenery';

Constructor

new HighlightVisibilityController( display : Display, providedOptions : HighlightVisibilityControllerOptions )

Instance Methods

dispose()

Type HighlightVisibilityControllerOptions

import type { HighlightVisibilityControllerOptions } from 'scenerystack/scenery';
  • interactiveHighlightsEnabledProperty?: TProperty<boolean>
    If interactive highlights are supported, a Property that controls whether they are enabled (visible).

Source Code

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