docs: function collapseItem(data) {
      let parentExpansions = findExpansion.call(this, data.parent).expansions;
  
      let index = parentExpansions.findIndex((expansion) => {
          return expansion.id === data.id;
      });
  
      parentExpansions.splice(index, 1);
  }