Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow other forms of node selection for init()
The existing behavior of init will always re-render the whole page, and requires that a chart be classed `mermaid`. This change allows the user to specify: - a DOM Node (as from getQuerySelector) - a DOM NodeList (as from getQuerySelectorAll) - an array of nodes (as from jQuery.find) - a string (to be handed to getQuerySelectorAll)
- Loading branch information