[][src]Module yew::utils

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

Structs

NodeSeq

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

Functions

document

Returns the current document.

host

Returns the host for the current document. Useful for connecting to the server which serves the app.

origin

Returns the origin of the current window.

window

Returns the current window. This function will panic if there is no available window.