5.0.0 • Published 4 years ago

shopify-checkout-step-manager v5.0.0

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

Shopify Checkout Step Manager

Easily execute code during Shopify Checkout.

Getting Started

Let's get you all set up!

Install

First install the package.

Using npm

npm i shopify-checkout-step-manager

Using yarn

yarn add shopify-checkout-step-manager

Use in your project

Once installed, you can then import and start using it in your project:

import { CheckoutStepManager } from 'shopify-checkout-step-manager';

const csm = new CheckoutStepManager();

function runOnRepaint() {
    console.log('There was a repaint!');
}

const removeListener = csm.onAnyRepaint().execute(runOnRepaint);

// remove the repaint listener after 3 seconds
setTimeout(removeListener, 3000);

Documentation

Visit the online docs here

5.0.0

4 years ago

4.0.0

4 years ago

3.0.0

4 years ago

2.1.0

4 years ago

2.0.0

4 years ago

1.5.0

5 years ago

1.4.0

5 years ago

1.3.0

5 years ago

1.2.0

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago

0.1.2

5 years ago