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