BackLink

The backLink action set allows you to modify back button right in the top left side of admin header.

Setup

Develop an application at the entry file.

// Embed App entry file
import { app } from 'shoplazza-app-bridge';

app.init();

Update Options

Set backLink text and click event handler.

import { backLink } from 'shoplazza-app-bridge';

backLink.setAction({
  display: true,
  text: 'Return app',
  onClick: () => {
    // Do somethings
  }
});