This is an automated email from the ASF dual-hosted git repository.
andreww pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/royale-docs.git
The following commit(s) were added to refs/heads/master by this push:
new e343db7 Update jewel-label.md
e343db7 is described below
commit e343db71e142250eaeec0b299e3e33b9cad3bcf0
Author: Andrew Wetmore <[email protected]>
AuthorDate: Sat Dec 28 18:58:43 2019 -0400
Update jewel-label.md
Small text changes
---
component-sets/jewel/jewel-label.md | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/component-sets/jewel/jewel-label.md
b/component-sets/jewel/jewel-label.md
index 6549c6e..eb1c30d 100644
--- a/component-sets/jewel/jewel-label.md
+++ b/component-sets/jewel/jewel-label.md
@@ -80,7 +80,7 @@ None.
## Relevant Events
-The `Label` has _click_ event of type
[org.apache.royale.events.Event](https://royale.apache.org/asdoc/index.html#!org.apache.royale.events/Event){:target='_blank'}.
This event is dispatched when the user clicks the control and triggers some
action coded in a callback function. Programatic changes will not trigger this
event.
+The `Label` has a _click_ event of type
[org.apache.royale.events.Event](https://royale.apache.org/asdoc/index.html#!org.apache.royale.events/Event){:target='_blank'}.
This event is dispatched when the user clicks the control and triggers some
action coded in a callback function. Programmatic changes will not trigger this
event.
You can attach callback listeners to the _click_ event in __MXML__ as follows:
@@ -94,13 +94,13 @@ the _click_ event will use the `clickHandler` callback
function you provide in _
<fx:Script>
<![CDATA[
private function clickHandler(event:Event):void {
- trace("you clicked the label!");
+ trace("You clicked the label!");
}
]]>
</fx:Script>
```
-When the user clicks the label, the message _"you clicked the label!"_ will
appear in the console log.
+When the user clicks the label, the message _"You clicked the label!"_ appears
in the console log.
In __ActionScript__ we can add an event handler this way:
@@ -118,7 +118,7 @@ Unlike other components in Royale, the Jewel `Label` does
not have beads for _Vi
|-----------------
|-----------------------------------------------------------
|------------------------------------------------ |
|
[IBeadModel](https://royale.apache.org/asdoc/index.html#!org.apache.royale.core/IBeadModel){:target='_blank'}
|
[org.apache.royale.jewel.beads.models.TextModel](https://royale.apache.org/asdoc/index.html#!org.apache.royale.jewel.beads.models/TextModel){:target='_blank'}
| The data model for the Label. |
-Jewel does not have beads specialy crafted for this control, but it can use
other common Jewel control beads (shared with other controls) to provide more
functionality.
+Jewel does not have beads specially crafted for this control, but it can use
other common Jewel control beads (shared with other controls) to provide more
functionality.
### Label Beads