Component<'model>

Namespace: Bolero
Attributes:
[<AbstractClass>]

Base class for components with a typed model.

Constructors

ConstructorDescription
new()
Signature: unit -> Component<'model>

CompiledName: .ctor

Instance members

Instance memberDescription
x.Equal()
Signature: unit -> 'model -> 'model -> bool

The optional custom equality check

CompiledName: set_Equal

x.Equal()
Signature: unit -> unit
Attributes:
[<Parameter>]

The optional custom equality check

CompiledName: get_Equal

x.ShouldRender(oldModel, newModel)
Signature: (oldModel:'model * newModel:'model) -> bool
Modifiers: abstract

Compare the old model with the new to decide whether this component needs to be re-rendered.