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