Version: v6ion-router-linkshadowContentsPropertiesEventsMethodsCSS Shadow PartsCSS Custom PropertiesSlotsThe router link component is used for navigating to a specified link. Similar to the browser's anchor tag, it can accept a href for the location, and a direction for the transition animation.noteNote: this component should only be used with vanilla and Stencil JavaScript projects. For Angular projects, use an <a> and routerLink with the Angular router.PropertiescolorDescriptionThe color to use from your application's color palette. Default options are: "primary", "secondary", "tertiary", "success", "warning", "danger", "light", "medium", and "dark". For more information on colors, see theming.AttributecolorType"danger" | "dark" | "light" | "medium" | "primary" | "secondary" | "success" | "tertiary" | "warning" | string & Record<never, never> | undefinedDefaultundefinedhrefDescriptionContains a URL or a URL fragment that the hyperlink points to. If this property is set, an anchor tag will be rendered.AttributehrefTypestring | undefinedDefaultundefinedrelDescriptionSpecifies the relationship of the target object to the link object. The value is a space-separated list of link types.AttributerelTypestring | undefinedDefaultundefinedrouterAnimationDescriptionWhen using a router, it specifies the transition animation when navigating to another page using href.AttributeundefinedType((baseEl: any, opts?: any) => Animation) | undefinedDefaultundefinedrouterDirectionDescriptionWhen using a router, it specifies the transition direction when navigating to another page using href.Attributerouter-directionType"back" | "forward" | "root"Default'forward'targetDescriptionSpecifies where to display the linked URL. Only applies when an href is provided. Special keywords: "_blank", "_self", "_parent", "_top".AttributetargetTypestring | undefinedDefaultundefinedEventsNo events available for this component.MethodsNo public methods available for this component.CSS Shadow PartsNo CSS shadow parts available for this component.CSS Custom PropertiesNameDescription--backgroundルーターリンクの背景--colorルーターリンクの文字色SlotsNo slots available for this component.