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