Bolero Namespace

Contents

Other namespace members

Type/Module Description

Attr

Node

Ref

Components

Type Description

Component

Base class for components built from Nodes.

Component<'model>

Base class for components with a typed model.

ElmishComponent<'model, 'msg>

Base class for components that are part of an Elmish view.

ProgramComponent<'model, 'msg>

Base class for components that run an Elmish program.

Elmish

Modules Description

Program

Functions to enable the router in an Elmish program.

HTML

Type/Module Description

Attr

HTML attribute or Blazor component parameter. Use attr or Html.op_EqualsGreater to create attributes.

Html

Create HTML elements, attributes and event handlers. [category: HTML]

HtmlRef

A utility to bind a reference to a rendered HTML element.

Node

An HTML fragment.

Ref<'T>

A utility to bind a reference to a rendered component.

Template

Provide content from a template HTML file. [category: HTML]

Routing

Type/Module Description

EndPointAttribute

Declare how an F# union case matches to a URI.

InvalidRouter

Exception thrown when a router is incorrectly defined.

InvalidRouterKind

The kinds of invalid router.

IRouter<'model, 'msg>

A router that binds page navigation with Elmish.

PageModel<'T>

A wrapper type to include a model in a router page type.

Router

Functions for building Routers that bind page navigation with Elmish.

Router<'model, 'msg>

A simple hand-written router.

Router<'ep, 'model, 'msg>

A simple router where the endpoint corresponds to a value easily gettable from the model.

RouterExtensions

WildcardAttribute

Declare that the given field of an F# union case matches the entire remainder of the URL path.