task Module

Functions and values

Function or value Description

callback name value

Full Usage: callback name value

Parameters:
    name : string - The name of the attribute (including "on" prefix for HTML event handlers).
    value : 'T -> Task - The function to use as callback.

Returns: Attr
Modifiers: inline
Type parameters: 'T

Create an attribute whose value is an asynchronous callback. Use this function for Blazor component attributes of type EventCallback.

For HTML event handlers, prefer functions from the module task.

name : string

The name of the attribute (including "on" prefix for HTML event handlers).

value : 'T -> Task

The function to use as callback.

Returns: Attr