Skip to content

TContentAppearanceStrategy

Under Construction

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

Overview

Type to annotate the constructor signature of ContentAppearanceStratgey @author Michael Kauzmann (PhET Interactive Simulations)

Type TContentAppearanceStrategy

import type { TContentAppearanceStrategy } from 'scenerystack/sun';

Type TContentAppearanceStrategyOptions

import type { TContentAppearanceStrategyOptions } from 'scenerystack/sun';
  • deselectedContentOpacity?: number
  • overContentOpacity?: number
  • selectedContentOpacity?: number

Source Code

See the source for TContentAppearanceStrategy.ts in the sun repository.