Skip to content

RadioButtonInteractionState

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

Overview

enum of the possible interaction states for the radio buttons @author John Blanco

Class RadioButtonInteractionState

import { RadioButtonInteractionState } from 'scenerystack/sun';

Static Properties

SELECTED : RadioButtonInteractionState

(readonly)

the button is selected

DESELECTED : RadioButtonInteractionState

(readonly)

the button is deselected

OVER : RadioButtonInteractionState

(readonly)

a pointer is over the button, but it is not being pressed and is not selected

PRESSED : RadioButtonInteractionState

(readonly)

the button is being pressed by the user

enumeration : Enumeration

(readonly)

Source Code

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