Add more to docstring about spinner delay attribute.

master
voussoir 2020-07-10 16:34:32 -07:00
parent 4911cee910
commit ff0d01fdda
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
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.