toolkit.withTimeout | R Documentation |
Perhaps you have a nullary function that you want called
when the user clicks a button, but the toolkit.button
function wants a unary function that has a completion callback
so that the button knows when to pop back up again. In this
situation you might wrap your function with a call to
toolkit.withTimeout
.
fn |
|
Unary function (taking one function as
an argument) that simply calls fn
immediately then
calls its argument again after 200ms.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.