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.

AttributeTypeDescription
isInitializedbooleanWhether aidEye is currently active or not.
activeIndexnumberIndex of the currently active step if using as a product tour and have configured the steps array.
activeElementElementDOM element of the currently active step.
activeStepAidEyeStepStep object of the currently active step.
previousElementElementDOM element that was previously active.
previousStepAidEyeStepStep object of the previously active step.
popoverPopoverDOMDOM elements for the popover: container, title, description, buttons, etc.