starling-framework
Version:
A fast, productive library for 2D cross-platform development.
20 lines (16 loc) • 476 B
TypeScript
declare namespace starling.display
{
/** A class that provides constant values for the states of the Button class. */
export class ButtonState
{
/** The button's default state. */
public static UP:string;
/** The button is pressed. */
public static DOWN:string;
/** The mouse hovers over the button. */
public static OVER:string;
/** The button was disabled altogether. */
public static DISABLED:string;
}
}
export default starling.display.ButtonState;