GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing next.angular.dev — RouterLinkWithHref • Angular @paramtabIndexAttribute string | null | undefined@returns RouterLinkRepresents an Represents the Passed to Passed to Passed to Passed to Passed to Passed to Passed to Passed to Passed to Passed to Passed to Commands to pass to
DescriptionWhen applied to an element in a template, makes that element a link
that initiates navigation to a route. Navigation opens one or more routed
components in one or more Given a route configuration You can use dynamic values to generate the link.
For a dynamic link, pass an array of path segments,
followed by the params for each segment.
For example, Multiple static segments can be merged into one term and combined with
dynamic segments. For example, The input that you provide to the link is treated as a delta to the current
URL. For instance, suppose the current URL is Exported byUsage NotesYou can use absolute or relative paths in a link, set query parameters, control how parameters are handled, and keep a history of navigation states. Relative link pathsThe first segment name can be prepended with
Setting and handling query params and fragmentsThe following link adds a query parameter and a fragment to the generated URL:
By default, the directive constructs the new URL using the given query
parameters. The example generates the link: You can instruct the directive to handle query parameters differently
by specifying the
For example:
See Preserving navigation historyYou can provide a
Use
Controlling scrollingWhen scroll restoration is enabled with
RouterLink compatible custom elementsIn order to make a custom element work with routerLink, the corresponding
custom element must implement the |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |