update()

Provides a set of views for the current location.

Properties

Method Input Required/Optional Description
RouteInstance Required Each RouteInstance contains a PageReference object. The route handler uses RouteInstance to determine which view to show.

Syntax

update(routeInfo: RouteInstance): void {
    this.callback({
        viewset: {
            default: () => import('example/home'),
        },
    });
}

Signature

public void update(routeInfo: RouteInstance)

Returns

  • None

See Also