Surfer: https://app.surferseo.com/drafts/s/NVU2LfnLHCO6HfATMtEPrCZR9V2ppEVj

Method Description
toggle Toggles the visibility of a collapsible element, switching between shown and hidden states. Returns before the actual visibility change (pre-shown/hidden event).
show Displays a collapsible element. Returns before the element is actually shown (pre-shown event).
hide Conceals a collapsible element. Returns before the element is actually hidden (pre-hidden event).
dispose Destroys the collapse functionality of an element, removing stored data from the DOM element.
getInstance A static method that retrieves the collapse instance associated with a specific DOM element.