template() {
    let html = '';

    if (this?.data.length > 0 && this.virtualScroll !== 'true') {
      html = `<div class="ids-list-view" part="container"><ul part="list">`;

      this.data.forEach((item) => {
        html += `<li part="list-item">${this.itemTemplate(item)}</li>`;
      });

      html += `</ul></div>`;
      return html;
    }

    if (this?.data.length > 0 && this.virtualScroll === 'true') {
      html = `<ids-virtual-scroll height="310">
          <div class="ids-list-view" part="container">
            <ul slot="contents" part="list">
            </ul>
          </div>
        </ids-virtual-scroll>`;
      return html;
    }
    return `<div class="ids-list-view"></div>`;
  }
/**
   * Inner template contents
   * @returns {string} The template
   */
Inner template contents
@returns {string} The template
Inner template contents @returns { string } The template
template() {
    let html = '';
    if (this?.data.length > 0 && this.virtualScroll !== 'true') {
      html = `<div class="ids-list-view" part="container"><ul part="list">`;
      this.data.forEach((item) => {
        html += `<li part="list-item">${this.itemTemplate(item)}</li>`;
      });
      html += `</ul></div>`;
      return html;
    }
    if (this?.data.length > 0 && this.virtualScroll === 'true') {
      html = `<ids-virtual-scroll height="310">
          <div class="ids-list-view" part="container">
            <ul slot="contents" part="list">
            </ul>
          </div>
        </ids-virtual-scroll>`;
      return html;
    }
    return `<div class="ids-list-view"></div>`;
  }
template ( ) { let html = '' ; if ( this ?. data . length > 0 && this . virtualScroll !== 'true' ) { html = ` ` ; this . data . forEach ( ( item ) => { html += ` ${ this . itemTemplate ( item ) } ` ; } ) ; html += ` ` ; return html ; } if ( this ?. data . length > 0 && this . virtualScroll === 'true' ) { html = ` ` ; return html ; } return ` ` ; }
Inner template contents
 @returns {string} The template
Inner template contents @returns { string } The template