Function yew::start_app_with_props_as_body[][src]

pub fn start_app_with_props_as_body<COMP>(
    props: COMP::Properties
) -> AppHandle<COMP> where
    COMP: Component
Expand description

The main entry point of a Yew application. Alternative to start_app_with_props which replaces the body element with a component which has a body element at the root of the HTML generated by its view method. Use this method when you need to manipulate the body element. For example, adding/removing app-wide CSS classes of the body element.