Logo FS-Skia-UI

Image Module

Builders for the `Image` control — a bitmap displayed from a source reference.

Functions and values

Function or value Description

create arg1

Full Usage: create arg1

Parameters:
    arg0 : Attr<'msg> list

Returns: Control<'msg>
Type parameters: 'msg

Build an `Image` from its attributes; pair with `Image.source` for the bitmap. The typed `Props` front door (`FS.Skia.UI.Controls.Typed`) is the recommended authoring path.

arg0 : Attr<'msg> list
Returns: Control<'msg>

source arg1

Full Usage: source arg1

Parameters:
    arg0 : string

Returns: Attr<'msg>
Type parameters: 'msg

Set the `Image` source (`Attr` carrying the path/URI string the renderer loads the bitmap from).

arg0 : string
Returns: Attr<'msg>

Type something to start searching.