SingleChildBuilder<'marker, 'childMarker> Type
A Computation Expression builder accepting a single child widget.
Record fields
| Record Field |
Description
|
|
|
|
|
|
Constructors
| Constructor |
Description
|
Full Usage:
SingleChildBuilder(key, attr)
Parameters:
WidgetKey
attr : WidgetAttributeDefinition
Returns: SingleChildBuilder<'marker, 'childMarker>
|
|
Full Usage:
SingleChildBuilder(key, attr, attributes)
Parameters:
WidgetKey
attr : WidgetAttributeDefinition
attributes : AttributesBundle
Returns: SingleChildBuilder<'marker, 'childMarker>
|
|
Instance members
| Instance member |
Description
|
Full Usage:
this.AddScalar
Parameters:
ScalarAttribute
Returns: SingleChildBuilder<'marker, 'childMarker>
Modifiers: inline |
|
Full Usage:
this.Combine
Parameters:
unit
b : SingleChildContent
Returns: SingleChildContent
Modifiers: inline |
Combines only the Zero state with the first child. Subsequent children won't be allowed thanks to the Unit initial state.
|
Full Usage:
this.Delay
Parameters:
unit -> SingleChildContent
Returns: SingleChildContent
Modifiers: inline |
|
|
Creates the current widget using the accumulated attributes and the child.
|
Full Usage:
this.Yield
Parameters:
WidgetBuilder<'childMarker>
Returns: SingleChildContent
Modifiers: inline |
|
Full Usage:
this.Zero
Modifiers: inline |
Starts with a state equals to unit so we can force yield to only be used once. |
Fabulous.AST