Fable.Modulo


InputBuilder Type

Computation expression used to build an "input" field model

Constructors

Constructor Description

InputBuilder()

Full Usage: InputBuilder()

Returns: InputBuilder
Returns: InputBuilder

Instance members

Instance member Description

disabled x

Full Usage: disabled x

Parameters:
    x : bool

Returns: FormInputModel<'f, 't>
Modifiers: inline
Type parameters: 'f, 't

Disable the field

x : bool
Returns: FormInputModel<'f, 't>

error x

Full Usage: error x

Parameters:
    x : string

Returns: FormInputModel<'f, 't>
Modifiers: inline
Type parameters: 'f, 't

Set the underlying initial value of the input field as "Error"

x : string
Returns: FormInputModel<'f, 't>

formatter x

Full Usage: formatter x

Parameters:
    x : 't -> string

Returns: FormInputModel<'f, 't>
Modifiers: inline
Type parameters: 'f, 't

Set the formatter function for the field

x : 't -> string
Returns: FormInputModel<'f, 't>

label x

Full Usage: label x

Parameters:
    x : string

Returns: FormInputModel<'f, 't>
Modifiers: inline
Type parameters: 'f, 't

Set the field's attached label

x : string
Returns: FormInputModel<'f, 't>

label' x

Full Usage: label' x

Parameters:
    x : string

Returns: FormInputModel<'f, 't>
Modifiers: inline
Type parameters: 'f, 't

Set the field's attached label and placeholder

x : string
Returns: FormInputModel<'f, 't>

parser x

Full Usage: parser x

Parameters:
    x : string -> Result<'t, string>

Returns: FormInputModel<'f, 't>
Modifiers: inline
Type parameters: 'f, 't

Set the parser function for the field

x : string -> Result<'t, string>
Returns: FormInputModel<'f, 't>

placeholder x

Full Usage: placeholder x

Parameters:
    x : string

Returns: FormInputModel<'f, 't>
Modifiers: inline
Type parameters: 'f, 't

Set the field's placeholder text

x : string
Returns: FormInputModel<'f, 't>

raw_value x

Full Usage: raw_value x

Parameters:
Returns: FormInputModel<'f, 't>
Modifiers: inline
Type parameters: 'f, 't

Set the underlying initial value of the input field

x : Result<'t, string>
Returns: FormInputModel<'f, 't>

raw_value' x

Full Usage: raw_value' x

Parameters:
Returns: FormInputModel<'f, 't>
Modifiers: inline
Type parameters: 'f, 't

Set the underlying initial value and text of the input field

x : Result<'t, string>
Returns: FormInputModel<'f, 't>

size x

Full Usage: size x

Parameters:
    x : int

Returns: FormInputModel<'f, 't>
Modifiers: inline
Type parameters: 'f, 't

Set the field's relative size text

x : int
Returns: FormInputModel<'f, 't>

text t

Full Usage: text t

Parameters:
    t : string

Returns: FormInputModel<'f, 't>
Modifiers: inline
Type parameters: 'f, 't

Set the displayed initial text of the input field

t : string
Returns: FormInputModel<'f, 't>

tooltip

Full Usage: tooltip

Returns: FormInputModel<'f, 't>
Modifiers: inline
Type parameters: 'f, 't

Set the field's tooltip text

Returns: FormInputModel<'f, 't>

tooltip x

Full Usage: tooltip x

Parameters:
    x : string

Returns: FormInputModel<'f, 't>
Modifiers: inline
Type parameters: 'f, 't

Set the field's tooltip text

x : string
Returns: FormInputModel<'f, 't>

tooltip x

Full Usage: tooltip x

Parameters:
Returns: FormInputModel<'f, 't>
Modifiers: inline
Type parameters: 'f, 't

Set the field's tooltip text

x : TooltipKind
Returns: FormInputModel<'f, 't>

validator x

Full Usage: validator x

Parameters:
    x : 'f -> 't -> Result<'t, string>

Returns: FormInputModel<'f, 't>
Modifiers: inline
Type parameters: 'f, 't

Set the field value's validator function

x : 'f -> 't -> Result<'t, string>
Returns: FormInputModel<'f, 't>

value x

Full Usage: value x

Parameters:
    x : 't

Returns: FormInputModel<'f, 't>
Modifiers: inline
Type parameters: 'f, 't

Set the underlying initial value of the input field

x : 't
Returns: FormInputModel<'f, 't>

value' x

Full Usage: value' x

Parameters:
    x : 't

Returns: FormInputModel<'f, 't>
Modifiers: inline
Type parameters: 'f, 't

Set the underlying initial value and text of the input field

x : 't
Returns: FormInputModel<'f, 't>