[−][src]Module mogwai::utils
Helpers and utilities.
Functions
add_event | Add an event of the given name on the given target, transmitting any triggered
events into the given |
body | Return the DOM body. |
document | Return the DOM |
remove_event | Remove an event of the given name from the given target. |
request_animation_frame | Sets a static rust closure to be called with |
set_checkup_interval | Set a callback closure to be called in a given number of milliseconds. |
set_immediate | Schedule the given closure to be run as soon as possible. |
timeout | Sets a static rust closure to be called after a given amount of milliseconds.
The given function may return whether or not this timeout should be rescheduled.
If the function returns |
wait_approximately | Wait approximately the given number of milliseconds.
Returns a |
window | Return the DOM |