fdk-back
Deprecation Notice
Vue-based themes will soon be deprecated. Please switch to React-based themes, as all future updates and support will focus exclusively on React.
Back Action Component
Tag
fdk-back
Description
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 className="go-back-btn" @click="backData.goBack()">
<span style="position: absolute; left: 15px"></span>
<span>Go Back</span>
</div>
</template>
</fdk-back>