79133035

Date: 2024-10-28 10:49:06
Score: 1.5
Natty:
Report link

If anyone is still looking for a quick hack for vuejs

  1. add a "@click=closeOpenTabs" to the DisclosureButton
  2. declare function:
const closeOpenTabs = () => document
    .querySelectorAll('button[data-headlessui-state="open"]')
    .forEach((b) => b.click());
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Passing By