Skip to main content

fdk-back

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

KeyTypeDescription
goBackfunctionThis 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>

Was this section helpful?