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