Function
Function
Function
stores initial label and timeout for reference
Function
sets state from idle to busy
Function
if no timeout is set or for other reason the user can put the button back to being idle
Function
to reset existing timeout and setting a new timeout
Function
reset the label (text) of the button; takes an HTML string
Function
on button click the button state gets changed only do something if button is not busy
Function
Function
Function
Object
Object