CAI Universal Toolbelt Menu

Reusable menu structure for various c.ai TM scripts that require a menu

Ekde 2023/05/12. Vidu La ĝisdata versio.

This script should not be not be installed directly. It is a library for other scripts to include with the meta directive // @require https://update.greasyfork.org/scripts/466064/1189709/CAI%20Universal%20Toolbelt%20Menu.js

Aŭtoro
notdoingthateither
Versio
0.0.1.20230512152332
Kreita
2023/05/11
Ĝisdatigita
2023/05/12
Licenco
MIT

Usage:

const btn = CAIToolMenu.newButton();
btn.innerHTML = 'Do';
btn.onclick = () => {
  console.log('It's doing stuff');
}