getItemByElement(element) {
    return this.items.find((item) => item.element === element);
  }
Retrieve a shuffle item by its element.
@param {Element} element Element to look for.
@return {?ShuffleItem} A shuffle item or undefined if it's not found.