Core Docs | Additional Modules Docs

Element.prototype.styles


@Description: Sets multiple style properties for an sb.element
@File: sb.js
@Type: function
@Param: Object params An object with css style/value pairs that are applied to the object
@Return: returns itself
@Example:
myElement.styles({
    backgroundColor : '#000000',
    fontSize : '18px',
    border : '1px solid #FF0000'
});