Module sauron_core::dom::util
source · Expand description
utility functions
Functions
- simulate a delay using promise in js
- provides access to the document body
- cancel the animation frame with handle
- cancel the idle callback with handle
- cancel the timeout callback with handle
- execute the function at a certain specified timeout in ms
- provides access to the document element
- utility function which returns the history api of the browser
- return the instantaneous time
- provides access to the window Performance api
- utility function which a closure in request animation frame
- request and idle callback
- request and idle callback
- Runs a Rust
Future
on the current thread. - utility function which returns the Window element