examples/bootstrap4/dynamic-components.js
[roojs1] / 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
+    });
 }