[][src]Function kagura::run

pub fn run<Msg, State, Sub>(component: Component<Msg, State, Sub>, id: &str) where
    Msg: 'static,
    State: 'static,
    Sub: 'static, 

Starts application with component

Examples

kagura::run(component, "id of entry point");