Hi,
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;
Br,
Daniel
-
This topic was modified 10 years, 6 months ago by Daniel Silva.