Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- enyo.kind({
- name: "Main.RemoteControlTouchpad",
- kind: "VFlexBox",
- components:[
- ],
- create: function(){
- this.inherited(arguments);
- this.arr = new Array();
- for (var i = 0; i < 10; i++) {
- this.arr[i] = this.createComponent({
- kind: "test"
- });
- }
- this.show();
- },
- show:function() {
- this.arr[2].show();
- }
- });
- enyo.kind({
- name:"test",
- kind:"Button",
- show:function() {
- console.error("Show");
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement