ion () {
        var isHidden = this.data.get('isHidden');
        this.data.set('isHidden', !isHidden);
    },
        initData: function () {
            return {
                value:1,
                datasource: [
                {color: 'blue', title: 'blue',id:1},
                {color: 'yellow', title: 'yellow',id:2}
                ]
            };
        }
    });

    var myApp = new MyApp();
    myApp.attach(document.body);
    </script>
</body>
</html>

