Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9021

Re: Bind radio button to json value

$
0
0

Thanks Dennis,

 

This is what I need I try your example.

currenlty you put this code in both radio button,there is a simple way to create one function that handle both?

I want to put it in the controller...

 

  select : function(e) {

    var src = e.getSource();

    var m = src.getModel();

    m.setProperty('/option', 'popup');

  }

 

select : function(e) {

    var src = e.getSource();

    var m = src.getModel();

    m.setProperty('/option', 'fullscreen');

  }

 

Thanks a lot!!!!


Viewing all articles
Browse latest Browse all 9021

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>