The <<disable>>
macro allows the user to disable (and re-enable) various interactive elements.
Author | ChapelR |
Website | https://twinelab.net/custom-macros-for-sugarcube-2/#/disable-macro |
Story format | SugarCube 2 |
Last checked | Sat Nov 14 2020 |
License | Unlicense |
Download | disable.zip |
The <<disable>>
macro allows the user to disable (and re-enable) various interactive elements.
Disabled elements are also given the class disabled
.
Demo Twee code:
:: Start This button should be disabled: <<disable>><<button "Submit">><</button>><</disable>>