forked from dmzgroup/js
-
Notifications
You must be signed in to change notification settings - Fork 1
Label
ben-sangster edited this page Nov 10, 2010
·
3 revisions
Simple text label class.
N/A
String/void text ([String text])
-
If called with an argument, set the text value of the label to text.
-
If called without an argument, return the text value of the label.
Bool/void wordWrap ([Bool enabled])
-
If called with an argument, set the label's wordWrap property to enabled.
-
If called without an argument, return the value of the label's wordWrap property.
void clear ()
- Clear the text from the label.