Constants

Joyride uses a few constants to keep its state and lifecycle. You should use them in your component for the callback events.

import Joyride, { ACTIONS, EVENTS, LIFECYCLE, ORIGIN, STATUS } from 'react-joyride';

ACTIONS - The action that updated the state.

EVENTS - The type of the event.

LIFECYCLE - The step's lifecycle.

ORIGIN - The origin of the CLOSE action.

STATUS - The tour's status.

Consult the source code for more information.

Last updated