removeTheseElements(elements) {
    if (elements.length > 0) {
      const newElements = []

      for (const element of this.elements) {
        if (elements.indexOf(element) === -1)
          newElements.push(element)
      }

      this.elements = newElements
    }
  }
/**
   * From the list of collected elements remove any element present in the input array
   * @param {HTMLElement[]} elements
   */
From the list of collected elements remove any element present in the input array
@param {HTMLElement[]} elements
From the list of collected elements remove any element present in the input array @param { HTMLElement [] } elements
removeTheseElements(elements) {
    if (elements.length > 0) {
      const newElements = []
      for (const element of this.elements) {
        if (elements.indexOf(element) === -1)
          newElements.push(element)
      }
      this.elements = newElements
    }
  }
removeTheseElements ( elements ) { if ( elements . length > 0 ) { const newElements = [ ] for ( const element of this . elements ) { if ( elements . indexOf ( element ) === - 1 ) newElements . push ( element ) } this . elements = newElements } }
From the list of collected elements remove any element present in the input array
 @param {HTMLElement[]} elements
From the list of collected elements remove any element present in the input array @param { HTMLElement [] } elements