Logo FS-Skia-UI

ViewerProgram<'model, 'msg> Type

Viewer host contract type (moved from the FS.Skia.UI monolith, retyped onto FS.Skia.UI.Scene).

Record fields

Record Field Description

Configuration

Full Usage: Configuration

Field type: ViewerConfiguration

EffectMapper

Full Usage: EffectMapper

Field type: 'msg -> ViewerEffect<'msg> option
Field type: 'msg -> ViewerEffect<'msg> option

EventMapper

Full Usage: EventMapper

Field type: ViewerEvent -> 'msg option
Field type: ViewerEvent -> 'msg option

Init

Full Usage: Init

Field type: unit -> 'model * Cmd<'msg>
Field type: unit -> 'model * Cmd<'msg>

Subscriptions

Full Usage: Subscriptions

Field type: 'model -> (string list * (Dispatch<'msg> -> IDisposable)) list
Field type: 'model -> (string list * (Dispatch<'msg> -> IDisposable)) list

Update

Full Usage: Update

Field type: 'msg -> 'model -> 'model * Cmd<'msg>
Field type: 'msg -> 'model -> 'model * Cmd<'msg>

View

Full Usage: View

Field type: 'model -> Scene
Field type: 'model -> Scene

Type something to start searching.