yo(selector).css(style)
Get the style value of the selector
var value = yo('.myclass').css('font-family');
yo(selector).css(style, value)
Set the style value into the selector;
yo('.myclass').css('font-family', 'Arial');
Go to index
Get the style value of the selector
var value = yo('.myclass').css('font-family');
Set the style value into the selector;
yo('.myclass').css('font-family', 'Arial');
Go to index
From here you can search these documents. Enter your search terms below.
Keys | Action |
---|---|
? | Open this help |
← | Previous page |
→ | Next page |
s | Search |