Fabulous API
2.0
Ask or search…
K
Links

AnyView

AnyView allows changing the type of view used in a given view hierarchy. Whenever the type of view used with an AnyView changes.

Constructors

Constructors
Description
AnyView<‘msg, ‘marker when ‘marker :> IView>(widget: WidgetBuilder<‘msg, ‘marker>)
Downcast to IView to allow to return different types of views in a single expression (e.g. if/else, match with pattern, etc.)
AnyView<‘msg, ‘marker when ‘marker :> IPage>(widget: WidgetBuilder<‘msg, ‘marker>)
Downcast to IPage to allow to return different types of pages in a single expression (e.g. if/else, match with pattern, etc.)
AnyView<‘msg, ‘marker when ‘marker :> ICell>(widget: WidgetBuilder<‘msg, ‘marker>)
Downcast to ICell to allow to return different types of cells in a single expression (e.g. if/else, match with pattern, etc.)