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