Home › forums › Feature Requests & Feedback › give an object to the constructor
A small idea.
How about the constructor accepts both a string with the container id and a object?
In the code:
this._container = typeof this._containerId == “string” ? document.getElementById(this._containerId) : this._containerId;
Makes sense. I’ll consider this for next version.
You must be logged in to reply to this topic.