[−][src]Module seed::browser::util
Provide a wrapper for commonly-used, but verbose web_sys
features.
This module is decoupled / independent.
Structs
RequestAnimationFrameHandle |
Traits
ClosureNew | Prevent repetition when wrapping closures. |
Functions
body | Convenience function to access the |
canvas | Convenience function to access the |
canvas_context_2d | Convenience function to access the |
cookies | Convenience function to get all cookies from the current |
document | Convenience function to access the |
error | Similar to log, but for errors. |
get_checked | Similar to |
get_value | Simplify getting the value of input elements; required due to the need to cast
from general nodes/elements to |
history | Convenience function to access the |
html_document | Convenience function to access the |
log | Convenience function for logging to the web browser's console. See also the log! macro, which is more flexible. |
request_animation_frame | Request the animation frame. |
set_checked | Similar to |
set_value | Similar to |
window | Convenience function to avoid repeating expect logic. |
Type Definitions
RequestAnimationFrameTime |