Home Forums Feature Requests & Feedback give an object to the constructor

give an object to the constructor

Viewing 2 posts - 1 through 2 (of 2 total)
  • #6295

    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 9 years, 10 months ago by Daniel Silva.
    #6301

    Daniel,

    Makes sense. I’ll consider this for next version.


    Sunil Urs

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.