Interface IScaffoldFlyoutController
- Namespace
- Nalu
- Assembly
- Nalu.Maui.Scaffold.dll
Page-scope service opening and closing the ambient Scaffold's drawers —
page models control the flyout without a scaffold reference. Registered by
UseNaluScaffold(); every call is a no-op when the app is not hosted in a scaffold
or the requested drawer does not exist (no content, or its mode disables it).
public interface IScaffoldFlyoutController
Methods
CloseAsync()
Closes the open drawer, if any; other overlays are unaffected.
Task CloseAsync()
Returns
OpenAsync(ScaffoldFlyoutSide)
Opens the drawer on the given side (see OpenFlyoutAsync(ScaffoldFlyoutSide) for the availability rules).
Task OpenAsync(ScaffoldFlyoutSide side)
Parameters
sideScaffoldFlyoutSideThe edge the drawer slides in from.