You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by an...@apache.org on 2019/12/08 00:06:08 UTC

[royale-docs] branch master updated: Update jewel-label.md

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 5f471c9  Update jewel-label.md
5f471c9 is described below

commit 5f471c956df30b5fb9bfc5d3674e7d61869750e7
Author: Andrew Wetmore <an...@cottage14.com>
AuthorDate: Sat Dec 7 20:06:02 2019 -0400

    Update jewel-label.md
    
    Small text edits.
---
 component-sets/jewel/jewel-label.md | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/component-sets/jewel/jewel-label.md b/component-sets/jewel/jewel-label.md
index 30a86be..6549c6e 100644
--- a/component-sets/jewel/jewel-label.md
+++ b/component-sets/jewel/jewel-label.md
@@ -35,7 +35,7 @@ Available since version __0.9.4__.
 
 ## Overview
 
-The Jewel Label implements the jewel control for text labels (single and multi line). It can dispatches a click event when the user clicks over it.
+The Jewel Label implements the Jewel control for single and multi line text labels. It dispatches a click event when the user clicks over it.
 
 ## Example of use
 
@@ -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 clicks over the control and triggers some action coded in a callback function. Notice that programatic changes will not trigger this event.
+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.
 
 You can attach callback listeners to the _click_ event in __MXML__ as follows:
 
@@ -100,7 +100,7 @@ the _click_ event will use the `clickHandler` callback function you provide in _
 </fx:Script>
 ```
 
-When the user click over 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!"_ will appear in the console log.
 
 In __ActionScript__ we can add an event handler this way: 
 
@@ -112,13 +112,13 @@ parent.addElement(label);
 
 ## Relevant Beads
 
-Unlike other components in Royale, the Jewel `Label` does not have beads for _View_, _Controller_ in the Javascript platform, but has _Model_.
+Unlike other components in Royale, the Jewel `Label` does not have beads for _View_ pr _Controller_ in the JavaScript platform, but has _Model_.
 
 | Bead Type       	| Implementation                                            	| Description                                    	|
 |-----------------	|-----------------------------------------------------------	|------------------------------------------------	|
 | [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.                   	|
 
-On the other hand, label does not have beads specialy crafted for this control but can use other common Jewel control beads (shared with other controls) to provide more functionality.
+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.
 
 ### Label Beads
 
@@ -134,4 +134,4 @@ None
 
 ## More examples
 
-* [Binding the text property of a Jewel Label to update a text Label](https://royale.apache.org/binding-the-text-property-of-a-jewel-textinput-to-update-a-text-label/){:target='_blank'}
\ No newline at end of file
+* [Binding the text property of a Jewel Label to update a text Label](https://royale.apache.org/binding-the-text-property-of-a-jewel-textinput-to-update-a-text-label/){:target='_blank'}