LogoLogo
  • Overview
  • Props
  • Step
  • Styling
  • Custom Components
  • Callback
  • Constants
  • Accessibility
  • Migration
Powered by GitBook
On this page

Was this helpful?

Constants

PreviousCallbackNextAccessibility

Last updated 1 year ago

Was this helpful?

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 for more information.

source code