:ClassejWaitingPopupSimple : MiPageSample⍝ Control:: _SF.ejWaitingPopup ⍝ Description:: Insert the three basic forms of toggleable "please wait" indicator ∇ Compose:Access public
⍝ WaitingPopup is vertically adjusted to be centered over the line where it is added Add¨4/_.brwp←Add_.ejWaitingPopupwp,←Add_.ejWaitingPopup'Cool stuff coming soon'wp,←Add_.ejWaitingPopup'Cool stuff<br>coming <b>very</b> soon...' ⍝ More spacing so the popup will not cover the buttons and prevent clicking Add¨4/_.brAdd_.p'There are three hidden TogglePopups on this page.'Add_.p'You can switch between them with the below buttons.'bn←Add¨_.button,¨'No argument''Simple text''Text with html''Hide'bn.id←'ABCX'bn.On⊂'click' ∇
∇ js←APLJax:Access public
js←⊃,/(⊂'showOnInit')wp.Update(_false_true)[1+'ABC'=_what] ∇
:EndClass