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