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