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