nodeComponents/hover/hover.js

// dependencies
import { print } from '../../util/helpers';

/**
 * Click the coordinates provided by an event's `clientX` and `clientY` coordinates.
 * Additionally, `debug` can be enabled to see the cursor position of of the `click` action.
 *
 * @alias $$$ - click
 * @param {object} event A mouse event that is used for trigger a `click` action.
 * @param {boolean} debug Allows to turn on the visuals for the `click` action.
 * @returns {self} Chainable api by returning the instance.
 */
export default (node) => () => {
  print('HOVER NOT IMPLEMENTED', 'warn');
  return node;
};