core/src/ons/styler.js
function(element, style) {
  Object.keys(style).forEach(function(key) {
    if (key in element.style) {
      element.style[key] = style[key];
    } else if (prefix(key) in element.style) {
      element.style[prefix(key)] = style[key];
    } else {
      util.warn('No such style property: ' + key);
    }
  });
  return element;
}
function(element, style) {
  Object.keys(style).forEach(function(key) {
    if (key in element.style) {
      element.style[key] = style[key];
    } else if (prefix(key) in element.style) {
      element.style[prefix(key)] = style[key];
    } else {
      util.warn('No such style property: ' + key);
    }
  });
  return element;
}
function ( element , style ) { Object . keys ( style ) . forEach ( function ( key ) { if ( key in element . style ) { element . style [ key ] = style [ key ] ; } else if ( prefix ( key ) in element . style ) { element . style [ prefix ( key ) ] = style [ key ] ; } else { util . warn ( 'No such style property: ' + key ) ; } } ) ; return element ; }
Minimal utility library for manipulating element's style.
Set element's style.

@param {Element} element
@param {Object} styles
@return {Element}
Minimal utility library for manipulating element s style . Set element s style .