Add more to docstring about spinner delay attribute.

master
voussoir 2020-07-10 16:34:20 -07:00
parent b910094443
commit 3e9e7e6a52
1 changed files with 3 additions and 1 deletions

View File

@ -86,7 +86,9 @@ function init_button_with_spinner()
data-spinner-delay: The number of milliseconds to wait before the data-spinner-delay: The number of milliseconds to wait before the
spinner appears. For tasks that you expect to run very quickly, spinner appears. For tasks that you expect to run very quickly,
this helps prevent a pointlessly short spinner. this helps prevent a pointlessly short spinner. Note that the button
always becomes disabled immediately, and this delay only affects
the separate spinner element.
data-holder-class: CSS class for the new span that holds the menu. data-holder-class: CSS class for the new span that holds the menu.