set virtualScroll(value) {
    if (value) {
      this.setAttribute(attributes.VIRTUAL_SCROLL, value.toString());
      if (this?.data.length > 0) {
        this.render();
      }
      return;
    }

    this.removeAttribute(attributes.VIRTUAL_SCROLL);
    this.render();
  }
/**
   * Set the list view to use virtual scrolling for a large amount of elements.
   * @param {boolean|string} value true to use virtual scrolling
   */
Set the list view to use virtual scrolling for a large amount of elements.
@param {boolean|string} value true to use virtual scrolling
Set the list view to use virtual scrolling for a large amount of elements . @param { boolean|string } value true to use virtual scrolling
set virtualScroll(value) {
    if (value) {
      this.setAttribute(attributes.VIRTUAL_SCROLL, value.toString());
      if (this?.data.length > 0) {
        this.render();
      }
      return;
    }
    this.removeAttribute(attributes.VIRTUAL_SCROLL);
    this.render();
  }
set virtualScroll ( value ) { if ( value ) { this . setAttribute ( attributes . VIRTUAL_SCROLL , value . toString ( ) ) ; if ( this ?. data . length > 0 ) { this . render ( ) ; } return ; } this . removeAttribute ( attributes . VIRTUAL_SCROLL ) ; this . render ( ) ; }
Set the list view to use virtual scrolling for a large amount of elements.
Set the list view to use virtual scrolling for a large amount of elements .