UNPKG

@financial-times/o-toggle

Version:

Utility that provides toggle (show/hide) behaviour to a <button> or <a> tag and a target.

6 lines (4 loc) 153 B
import '../../main.js'; document.addEventListener("DOMContentLoaded", function () { document.dispatchEvent(new CustomEvent('o.DOMContentLoaded')); });