Rendering Module

Types

Type Description

RenderType

Functions and values

Function or value Description

renderPage page httpContext htmlHelper boleroConfig

Full Usage: renderPage page httpContext htmlHelper boleroConfig

Parameters:
Returns: string A string containing the HTML representation of the page.

Render a Bolero page to a string.

page : Node

The Bolero page.

httpContext : HttpContext

The ASP.NET HTTP context.

htmlHelper : IHtmlHelper

The Razor HTML helper.

boleroConfig : IBoleroHostConfig

The Bolero configuration.

Returns: string

A string containing the HTML representation of the page.

renderPlain node

Full Usage: renderPlain node

Parameters:
Returns: string A string containing the HTML representation of the node.

Render a Bolero node to a string.

Blazor components contained in the node are ignored.

node : Node
Returns: string

A string containing the HTML representation of the node.