document style as a property
authorAlan <alan@roojs.com>
Tue, 16 Aug 2022 06:16:47 +0000 (14:16 +0800)
committerAlan <alan@roojs.com>
Tue, 16 Aug 2022 06:16:47 +0000 (14:16 +0800)
Roo/Component.js

index 7f78933..9c6a0df 100644 (file)
@@ -150,6 +150,13 @@ Roo.extend(Roo.Component, Roo.util.Observable, {
      */
     actionMode : "el",
 
+        /**
+     * @cfg {String} style
+     * css styles to add to component
+     * eg. text-align:right;
+     */
+    style : false,
+       
     /** @private */
     getActionEl : function(){
         return this[this.actionMode];