State
You can access the current state of aideye by calling the getState
method. It's also passed to the hooks and callbacks.
AidEyeStep Configuration
You can configure the popover globally, or per step. Given below are some of the available configuration options.
Attribute | Type | Description |
---|---|---|
isInitialized | boolean | Whether aidEye is currently active or not. |
activeIndex | number | Index of the currently active step if using as a product tour and have configured the steps array. |
activeElement | Element | DOM element of the currently active step. |
activeStep | AidEyeStep | Step object of the currently active step. |
previousElement | Element | DOM element that was previously active. |
previousStep | AidEyeStep | Step object of the previously active step. |
popover | PopoverDOM | DOM elements for the popover: container, title, description, buttons, etc. |