Currently the data attributes in the DOM are not updated is this intentional for performance?
If so what is the best way to get the current position from an element I only see an internal method: _getItemByElement
Can we change it to either update the data attributes in the DOM or make _getItemByElement part of the public API.
Currently the data attributes in the DOM are not updated is this intentional for performance? If so what is the best way to get the current position from an element I only see an internal method: _getItemByElement
Can we change it to either update the data attributes in the DOM or make _getItemByElement part of the public API.