update()

Provides a set of views for the current location.

Properties 

Method InputRequired/OptionalDescription
RouteInstanceRequiredEach RouteInstance contains a PageReference object. The route handler uses RouteInstance to determine which view to show.

Syntax 

1update(routeInfo: RouteInstance): void {
2    this.callback({
3        viewset: {
4            default: () => import('example/home'),
5        },
6    });
7}

Signature 

1public void update(routeInfo: RouteInstance)

Returns 

  • None

See Also

Developer Preview Feature

Feature is available as a developer preview. Feature is not generally available unless or until Salesforce announces its general availability in documentation or in press releases or public statements. All commands, parameters, and other features are subject to change or deprecation at any time, with or without notice. Do not implement functionality developed with these commands or tools.

DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!