Skip to main content

foundation-header.navigation.navigateto

Home > @genesislcap/foundation-header > Navigation > navigateTo

Changes the route of the current page

Signature:

navigateTo(path: string): void;

Parameters​

Parameter

Type

Description

path

string

string representing the new route to move to

Returns:

void

Remarks​

Requires setup of the Router and usage of the Router