Custom Data Scripting
Now I don't not what other developers call this style or if they even acknowledge this pattern. I'm giving it a name cause I need a way to define it. Plus its easily explain to other developers where to look for with my code. The goal here is to always look at the Dom for something and if I need more complex stuff then place it in a object. However I could always argue that one could go back and makeup a new tag and simplify the settings. Some docs might be required but good names for your component help. For example <carasuel img="3" time="300"></carasuel> beat that's easy to get. The point is that my code could be written in an js framework but the approach doesn't change.