The createHandlerFn() helper function is useful to construct onclick or similar event handling functions. It will add a "spinning" CSS class on the event target element and disable the element, wrap the given function with Promise.resolv() and re-enable the target element once the promise is settled. Signed-off-by: Jo-Philipp Wich <jo@mein.io> |
||
---|---|---|
.. | ||
luci-base | ||
luci-mod-admin-full | ||
luci-mod-admin-mini | ||
luci-mod-failsafe | ||
luci-mod-network | ||
luci-mod-rpc | ||
luci-mod-status | ||
luci-mod-system |