examples/bootstrap4/dynamic-components.js
authorAlan Knowles <alan@roojs.com>
Thu, 21 Feb 2019 07:15:23 +0000 (15:15 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 21 Feb 2019 07:15:23 +0000 (15:15 +0800)
examples/bootstrap4/dynamic-components.js

index 8e5511d..e8e8d63 100644 (file)
@@ -25,7 +25,12 @@ Dynamic.Component = function(cfg)
     Dynamic.Component.superclass.constructor.call(this, config);
     
     // we can add 'events that the extended element creates here..
-    
+     this.addEvents({
+        
+       // "click" : true,
+         
+       // "toggle" : true
+    });
 }