It might be nice to allow cursors to be configured via a data attributes API. I imagine the implementation would still require the user to initialise the cursor plugin however, in a similar fashion to how Bootstrap tooltips are implemented.
The API itself would just be a different interface to the options hash, e.g.:
It might be nice to allow cursors to be configured via a data attributes API. I imagine the implementation would still require the user to initialise the cursor plugin however, in a similar fashion to how Bootstrap tooltips are implemented.
The API itself would just be a different interface to the options hash, e.g.:
And then initialisation: