Method Outlet
- Namespace
- Velvet
- Assembly
- Velvet.Docs.dll
Outlet(object?, string?)
Placeholder that renders the matched child route component of a nested route at this position.
public static OutletNode Outlet(object? context = null, string? key = null)
Parameters
contextobjectOptional value supplied to the rendered child route, consumed by
Hooks.UseOutletContext.keystringKey used to disambiguate siblings at the same position.
Returns
- OutletNode
The created OutletNode.