Logo FS-Skia-UI

Border Module

Builders for the `Border` container — wraps a single child in a stroked/padded frame.

Functions and values

Function or value Description

child arg1

Full Usage: child arg1

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

Set the single control a `Border` frames (`Attr.child`; a `Border` holds exactly one child, unlike the multi-child containers).

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

create arg1

Full Usage: create arg1

Parameters:
    arg0 : Attr<'msg> list

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

Build a `Border` from its attributes; pair with `Border.child` for the wrapped content. The typed `Props` front door (`FS.Skia.UI.Controls.Typed`) is the recommended authoring path.

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

Type something to start searching.