skrollr
skrollr copied to clipboard
data-* attributes should be prefixed to avoid conflicts
Since this is a very isolated feature, it should be designed in a way where it can be used with many other features made by other developers. One way to do so is to ensure that global names are namespaced. So instead of data-0
or data-end
you would write something like data-skrollr-0
or data-skrollr-end
.