Attr Module

Functions and values

Function or value Description

Attrs attrs

Full Usage: Attrs attrs

Parameters:
    attrs : seq<Attr> - The HTML attributes and component parameters.

Returns: Attr An Attr value representing all the given HTML attributes and component parameters.
Modifiers: inline

Group multiple HTML attributes and component parameters as a single value.

attrs : seq<Attr>

The HTML attributes and component parameters.

Returns: Attr

An Attr value representing all the given HTML attributes and component parameters.

Empty ()

Full Usage: Empty ()

Parameters:
    () : unit

Returns: Attr An Attr value representing no attributes or parameters.
Modifiers: inline

Create an Attr value representing no attributes or parameters.

() : unit
Returns: Attr

An Attr value representing no attributes or parameters.

Make name value

Full Usage: Make name value

Parameters:
    name : string - The name of the attribute or parameter.
    value : 'T - The value of the attribute or parameter.

Returns: Attr An HTML attribute or component parameter.
Modifiers: inline
Type parameters: 'T

Create an HTML attribute or a component parameter.

name : string

The name of the attribute or parameter.

value : 'T

The value of the attribute or parameter.

Returns: Attr

An HTML attribute or component parameter.