JD is an easy to use library not a framework made for those who would rather spend time writing beautiful HTML and CSS rather than trying to re-invent the wheel by putting some JavaScript together.
This means every component can be activated and controlled via some simple (and valid) HTML attributes. Focus on what you do best: making your pages look nice.
But wait! You can also use them via some regular JavaScript if you need (for example, if you load some of that HTML asynchronously).