fdk-link
You are reading an outdated document
Get the latest developer guides on Fynd Partners Help
fdk link component is used to wrap the anchor tag and also do the respective internal navigation in web and mobile view.
Props
Key | Type | Description |
---|---|---|
link | string | this is the URL which is to be navigated it can be internal or external |
action | Object | this is the object which needs to be converted into URL for respective external or internal navigation, this object contain information for page which need to be redirected to if internal navigation and link if external navigation |
target | string | similar to the target in href, handles the tab for external navigation |
disabled | boolean | this boolean flag disable fdk-link action component function. |
Example
For internal navigation<fdk-link :link="link" :title="title">
//code to be handled for navigation
</fdk-link>
<fdk-link :action="actionObject">
//code to be handled for navigation
</fdk-link>
<fdk-link :link="link" :target="_blank">
//code to be handled for navigation
</fdk-link>