style(arg1) {
    /** Create new element */
    const style = new strapped.Style();
    
    /** Add to last container of indicated type */
    if ( typeof arg1 == 'string' && arg1.length > 0 )
      this.last(arg1).append(style);
    else
      this.last('Head').append(style);
    
    /** Allow for call chaining */
    return style;
  }
/**
   * Add new style to page.
   * @signature style() Add new style to last head
   * @signature style(string) Add new style to last container type 
   * indicated by (string)
   * @return This new style for call chaining
   */
Add new style to page.
@signature style() Add new style to last head
@signature style(string) Add new style to last container type
indicated by (string)
@return This new style for call chaining
Add new style to page . @signature style () Add new style to last head @signature style ( string ) Add new style to last container type indicated by ( string ) @return This new style for call chaining
style(arg1) {
    const style = new strapped.Style();
    if ( typeof arg1 == 'string' && arg1.length > 0 )
      this.last(arg1).append(style);
    else
      this.last('Head').append(style);
    return style;
  }
style ( arg1 ) { const style = new strapped . Style ( ) ; if ( typeof arg1 == 'string' && arg1 . length > 0 ) this . last ( arg1 ) . append ( style ) ; else this . last ( 'Head' ) . append ( style ) ; return style ; }
Add new style to page.
Add new style to page .
/** Create new element */ /** Add to last container of indicated type */ /** Allow for call chaining */