fdk-back
You are reading an outdated document
Get the latest developer guides on Fynd Partners Help
As the name suggests, this action component is used to go back to the previous page in the navigation history. This can be used to create buttons to get back to the previous links or pages.
Props
Key | Type | Description |
---|---|---|
goBack | function | this function can be called to go back to the previous page, or link |
Example
<fdk-back>
<template slot-scope="backData">
<div class="go-back-btn" @click="backData.goBack()">
<span style="position: absolute; left: 15px"></span>
<span>Go Back</span>
</div>
</template>
</fdk-back>