ProgramComponent<'model, 'msg> Type

Base class for components that run an Elmish program.

Constructors

Constructor Description

ProgramComponent()

Full Usage: ProgramComponent()

Returns: ProgramComponent<'model, 'msg>
Returns: ProgramComponent<'model, 'msg>

Instance members

Instance member Description

this.Dispatch

Full Usage: this.Dispatch

Returns: 'msg -> unit

The component's dispatch method. This property is initialized during the component's OnInitialized phase.

Returns: 'msg -> unit

this.JSRuntime

Full Usage: this.JSRuntime

The JavaScript interoperation runtime. Provided by dependency injection.

this.Program

Full Usage: this.Program

Returns: Program<'model, 'msg>
Modifiers: abstract

The Elmish program to run.

Returns: Program<'model, 'msg>

this.Rerender

Full Usage: this.Rerender