Hi, you have "parent" to access main. But you shouldn't as that will make both components be extremely coupled. You should instead throw events and listeners.
El mié., 18 nov. 2020 a las 20:21, choirul anam (<[email protected]>) escribió: > these lines of code is from TourDeJewel example > > <j:ApplicationMainContent localId="main" hasTopAppBar="true" > hasFooterBar="true"> > > <local:WelcomeSection name="welcome_panel"/> > <local:AlertPlayGround name="alert_panel"/> > <local:ButtonPlayGround name="button_panel"/> > > <local:ImagePlayGround name="image_panel"/> > <local:NumericStepperPlayGround name="numericstepper_panel"/> > > <local:ImagePlayGround name="image_panel"/> > <local:NumericStepperPlayGround name="numericstepper_panel"/> > > etc > > <local:VirtualListsPlayGround name="virtual_lists_panel"/> > <local:ProgressLoaderPlayGround name="progressloader_panel"/> > > </j:ApplicationMainContent> > > > How to acces the "main" variable from inside each local component > (ButtonPlayGround, ImagePlayGround etc). > > I know in flex we can use some like parentApplication, parentDocument and > FlexGlobal topLevelApplication. > How in royale ? > > Thankyou > > > > > -- > Sent from: http://apache-royale-users.20374.n8.nabble.com/ > -- Carlos Rovira Apache Member & Apache Royale PMC *Apache Software Foundation* http://about.me/carlosrovira
