Fable.Modulo


FormCheckboxModel Module

Functions related to the FormCheckboxModel type

Functions and values

Function or value Description

create initialValue updater

Full Usage: create initialValue updater

Parameters:
Returns: FormCheckboxModel<'a>

Create a FormCheckboxModel

initialValue : Result<bool, string>
updater : FormCheckboxModel<'a> -> 'a -> 'a
Returns: FormCheckboxModel<'a>

update value item

Full Usage: update value item

Parameters:
Returns: FormCheckboxModel<'f>
Modifiers: inline
Type parameters: 'f

Update the field's value

value : Result<bool, string>
item : FormCheckboxModel<'f>
Returns: FormCheckboxModel<'f>

withDisabled x item

Full Usage: withDisabled x item

Parameters:
Returns: FormCheckboxModel<'a>

Disable the field

x : bool
item : FormCheckboxModel<'a>
Returns: FormCheckboxModel<'a>

withLabel label item

Full Usage: withLabel label item

Parameters:
Returns: FormCheckboxModel<'a>

Set the label

label : string
item : FormCheckboxModel<'a>
Returns: FormCheckboxModel<'a>

withPlaceholder placeholder item

Full Usage: withPlaceholder placeholder item

Parameters:
Returns: FormCheckboxModel<'a>

Set the placeholder

placeholder : string
item : FormCheckboxModel<'a>
Returns: FormCheckboxModel<'a>

withRelativeSize s item

Full Usage: withRelativeSize s item

Parameters:
Returns: FormCheckboxModel<'a>

Set the relative size

s : int
item : FormCheckboxModel<'a>
Returns: FormCheckboxModel<'a>

withTooltip v item

Full Usage: withTooltip v item

Parameters:
Returns: FormCheckboxModel<'a>

Set the tooltip

v : TooltipKind
item : FormCheckboxModel<'a>
Returns: FormCheckboxModel<'a>

withTooltipText text item

Full Usage: withTooltipText text item

Parameters:
Returns: FormCheckboxModel<'a>

Set the tooltip text

text : string
item : FormCheckboxModel<'a>
Returns: FormCheckboxModel<'a>

withValidator validator item

Full Usage: withValidator validator item

Parameters:
Returns: FormCheckboxModel<'a>

Set the validator

validator : 'a -> bool -> Result<bool, string>
item : FormCheckboxModel<'a>
Returns: FormCheckboxModel<'a>