Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Next thing is to initialize the widget and there are 2 ways to do it, the one used above is the one which delegates to a helper function that takes in 6 arguments, in the case above, the arguments are;

  • elementId: the id of the element that will be the container of the widget

...