Get the value of a property

Hi guys,

I have a Panel with a property called Selected. Say if I want to display the value of this selected property with JS how would I do this?



<Panel ux:Name="menu" Selected="{selected}">
    var Observable = require('FuseJS/Observable');
    var selected = Observable();
    module.exports = {selected: selected};

    <string ux:Property="Selected" />


var myText = something like menu.Selected ;

NOTE: I don’t want to bind this myText variable to the Selected property as this has already been done within the class. I need to access the Selected property outside in the whole app’s JS.

Thanks :slightly_smiling_face: