Harbs commented on issue #129: Add ApplicationParametersBead
URL: https://github.com/apache/royale-asjs/issues/129#issuecomment-373646644
 
 
   Here’s a distilled example of how to use these beads:
   ````
   <js:Application xmlns:js="library://ns.apache.org/royale/basic">
     <js:beads> 
       <js:ApplicationParametersCaseInsensitive id="parameters" />
     </js:beads>
     <js:initialView>
       <js:View/>
     </js:initialView>
   </js:Application>
   ````
   And assuming “app" is a reference to your main class you can get values like 
this:
   
   `var myVal:String = app.parameters.getValue("some_val”);`
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to