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?

e.g.

UX:

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

    <string ux:Property="Selected" />
    etc...
</Panel>

JS:

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: