RouterExtensions Type

Static members

Static member Description

RouterExtensions.HRef(this, endpoint)

Full Usage: RouterExtensions.HRef(this, endpoint)

Parameters:
    this : Router<'ep, 'a, 'b> - The router.
    endpoint : 'ep - The router endpoint.

Returns: Attr An href attribute pointing to the given endpoint.

Create an HTML href attribute pointing to the given endpoint.

this : Router<'ep, 'a, 'b>

The router.

endpoint : 'ep

The router endpoint.

Returns: Attr

An href attribute pointing to the given endpoint.