Bolero

Bolero Namespace

Components

TypeDescription
Component

Base class for components built from Bolero.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.

HTML

TypeDescription
Attr

HTML attribute or Blazor component parameter. Use Bolero.Html.attr or (=>) to create attributes.

ElementReferenceBinder
WARNING: This API is obsolete

Use HtmlRef.

A utility to bind a reference to a rendered HTML element. See https://fsbolero.io/docs/Blazor#html-element-references

HtmlRef

A utility to bind a reference to a rendered HTML element. See https://fsbolero.io/docs/Blazor#html-element-references

Node

HTML fragment.

Ref<'T>

A utility to bind a reference to a rendered component. See https://fsbolero.io/docs/Blazor#html-element-references

ModuleDescription
Html

Create HTML elements, attributes and event handlers.

Routing

TypeDescription
EndPointAttribute

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

IRouter<'model, 'msg>

A router that binds page navigation with Elmish.

InvalidRouter

Exception thrown when a router is incorrectly defined.

InvalidRouterKind

The kinds of invalid router.

PageModel<'T>

A wrapper type to include a model in a router page type. See https://fsbolero.io/docs/Routing#page-models

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. If field is unspecified, this applies to the last field of the case.

ModuleDescription
Program

Functions to enable the router in an Elmish program.

Router

Functions for building Routers that bind page navigation with Elmish.

Other namespace members

TypeDescription
Ref
ModuleDescription
Attr
Node

Bolero.Builders Namespace

TypeDescription
AttrBuilder
ChildAndRefContent

Render the current element or component's key, reference and child content. The child content may be either direct children at the end, or a ChildContent attribute at the beginning.

ChildContentAttr

Render the ChildContent attribute.

ComponentBuilder<'T>
ComponentBuilder
ComponentWithAttrsAndNoChildrenBuilder<'T>
ComponentWithAttrsBuilder<'T>
ConcatBuilder
ElementBuilder
RefContent

Render the current element or component's reference.

VirtualizeBuilder<'Item>
VirtualizeItemsDeclaration<'T>

Bolero.Remoting Namespace

TypeDescription
IRemoteProvider

Provides remote service implementations.

IRemoteService

Indicate that this type is a remote service, served at the given base URL path.

RemoteException

Exception thrown on the client when a remote call fails.

RemoteUnauthorizedException

Exception thrown when a remote function fails to authorize a call.

RemotingExtensions

Extension methods to retrieve remote services from a program component.

Bolero.Remoting.Client Namespace

TypeDescription
IConfigureSerialization
RemoteResponse<'resp>
WARNING: This API is obsolete

Use Cmd.ofAuthorized / performAuthorized

ModuleDescription
Cmd

Elmish commands for remote calls and JavaScript interop.

Bolero.Remoting.Server Namespace

TypeDescription
IRemoteContext

The context to inject in a remote service to authorize remote functions.

ServerRemotingExtensions

Extension methods to enable support for remoting in the ASP.NET Core server side.

Bolero.Server Namespace

Bolero.Server.Components Namespace

TypeDescription
BoleroScript
Page

Bolero.Virtualize Namespace