Button

Namespace: TSUI.UI
Extends: Control
Implements: IButton
Exported: Yes
JSDoc status: Complete

Associated source files:

Description

A basic button control implementation.

Constructor

constructor();
Creates a new Button control.

Public Methods

InvokeDefaultAction(): void;
Invokes the button's click event.
Text(value: string = null): string;
Gets or sets the button text.
  • value : (Optional) The value to set the text to.
  • Returns : The value of the button's text.

Public Properties

TextLabel: ILabel
The label control which is the button's text.

Last edited Aug 3, 2013 at 11:49 PM by EdwardNutting, version 2

Comments

No comments yet.