yew_stdweb

Module utils

Source
Expand description

This module contains useful utilities to get information about the current document.

Structs§

  • A special type necessary for flattening components returned from nested html macros.

Functions§

  • Returns the current document.
  • Returns the host for the current document. Useful for connecting to the server which serves the app.
  • Map IntoIterator<Item=Into> to Iterator<Item=T>
  • Returns the origin of the current window.
  • Returns the current window. This function will panic if there is no available window.