Closed therufa closed 8 years ago
I recently required a solution to initialize a single dropdown in order to keep my DOM and events clean, so I provided a a solution so that the init method could be called with an ID value too.
@therufa Sorry, but you are wrong. querySelectorAll allows the use classes and id as a selector.
@franckevva you're right. I must have overseen something. Sorry for the trouble
I recently required a solution to initialize a single dropdown in order to keep my DOM and events clean, so I provided a a solution so that the init method could be called with an ID value too.