docs: def hide(self, eid, index=0):
          """
          Hide the element with the matching eid. If no match, look for an element with a matching rid.
          """
          elems = None
          if eid in self.__element_ids:
              elems = self.__element_ids[eid]
          elif eid in self.__repeat_ids:
              elems = self.__repeat_ids[eid]
  
          if elems and index < len(elems):
              elem = elems[index]
              elem.parent.children.remove(elem)