RouterLink #
A link to another page of the site, rendered as a plain <a> with the site base applied. Clicks are handled by the global link interceptor, so a page with a thousand sidebar links does no per-link work: the only thing this component computes is whether it is the current page.
TypeScript
let RouterLink: DefineComponent<ExtractPropTypes<{ to: { type: StringConstructor; required: true } }>, () => VNode<RendererNode, RendererElement, { [key: string]: any }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, ToResolvedProps<ExtractPropTypes<{ to: { type: StringConstructor; required: true } }>, {}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>

Comments