checkTemplateHeight(itemTemplate) {
    this.shadowRoot.querySelector('.ids-list-view ul').insertAdjacentHTML('beforeEnd', itemTemplate);
    const tester = this.shadowRoot.querySelector('#height-tester');
    const height = tester.offsetHeight;
    tester.remove();
    return height;
  }
/**
   * Calculate the height of a  template element.
   * @private
   * @param  {string} itemTemplate The item template
   * @returns {number} The item height
   */
Calculate the height of a  template element.
@private
@param  {string} itemTemplate The item template
@returns {number} The item height
Calculate the height of a template element . @private @param { string } itemTemplate The item template @returns { number } The item height
checkTemplateHeight(itemTemplate) {
    this.shadowRoot.querySelector('.ids-list-view ul').insertAdjacentHTML('beforeEnd', itemTemplate);
    const tester = this.shadowRoot.querySelector('#height-tester');
    const height = tester.offsetHeight;
    tester.remove();
    return height;
  }
checkTemplateHeight ( itemTemplate ) { this . shadowRoot . querySelector ( '.ids-list-view ul' ) . insertAdjacentHTML ( 'beforeEnd' , itemTemplate ) ; const tester = this . shadowRoot . querySelector ( '#height-tester' ) ; const height = tester . offsetHeight ; tester . remove ( ) ; return height ; }
Calculate the height of a  template element.
Calculate the height of a template element .