Idea of the project: if someone wants to order a project development, here you can send an application.
import setupEventListeners from '../utils/setupEventListeners';
/**
* It will add resize/scroll events and start recalculating
* position of the popper element when they are triggered.
* @method
* @memberof Popper
*/
export default function enableEventListeners() {
if (!this.state.eventsEnabled) {
this.state = setupEventListeners(
this.reference,
this.options,
this.state,
this.scheduleUpdate
);
}
}