RayCraftDocs
v1.0.3 raycraft.dev
On this page

SignaturePad

Free

Canvas for drawing a signature with a mouse, finger or pen. The value is a PNG as a data URL. Drawing is not keyboard accessible, so also offer an alternative such as typing the name.

Example

SignaturePad control

Parameters

ParameterTypeDescription
ClassstringExtra CSS classes added to the root element.
DisabledboolDisables interaction.
HeightintDrawing height in pixels.
LabelstringVisible label text (charts: accessible name; IconButton: accessible name and tooltip).
StrokeWidthDoublePen width in canvas pixels.
StylestringInline style added to the root element.
ValuestringThe drawing as a PNG data URL. Use with @bind-Value.
WidthintDrawing width in pixels (the canvas scales to its container).

Events

EventTypeDescription
ValueChangedEventCallback<string>Raised when the value changes.

Package

SignaturePad is part of RayCraft Free. Package: RayCraft.Blazor. It comes from nuget.org. See Getting started.