Function consecuit::construction::mount::mount_app [−][src]
pub fn mount_app<Ret>(function: fn(_: ComponentBuilder, _: ()) -> Ret) where
Ret: ComponentReturn,
Expand description
Mount the given component on the
element. This passes
to
mount_app_at
.The component must be a Consecuit component that takes ()
(empty tuple) as props.
See crate
for what a Consecuit component looks like.