Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8451

Re: Add style class to inline css

$
0
0

HI Dennis,

 

No I think you dont since this is still on the control

I want to remove it from the control

 

 

Here its in the control js code(the css)

onAfterRendering: function(oEvent) {

    var $this = this.$();

    $this.css('width', '20px');  

    $this.css('border-collapse', 'separate');

}, self._getListBox());

 

I need something like this but it doesnt work.

 

onAfterRendering: function(oEvent) {

 

}, self._getListBox().addStyleClass(myClass));

 

and my class in the css file should be

.myClass{

"width": "20px",
   "border-collapse": "separate"

}


I want to remove the css code from my js file somehow.


Thanks,

Joerg


Viewing all articles
Browse latest Browse all 8451

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>