BasicElement.js 879 B

1234567891011121314151617181920212223242526272829
  1. var INSPECTOR;
  2. (function (INSPECTOR) {
  3. /**
  4. * Represents a html div element.
  5. * The div is built when an instance of BasicElement is created.
  6. */
  7. var BasicElement = (function () {
  8. function BasicElement() {
  9. this._div = INSPECTOR.Helpers.CreateDiv();
  10. }
  11. /**
  12. * Returns the div element
  13. */
  14. BasicElement.prototype.toHtml = function () {
  15. return this._div;
  16. };
  17. /**
  18. * Build the html element
  19. */
  20. BasicElement.prototype._build = function () { };
  21. ;
  22. /** Default dispose method if needed */
  23. BasicElement.prototype.dispose = function () { };
  24. ;
  25. return BasicElement;
  26. }());
  27. INSPECTOR.BasicElement = BasicElement;
  28. })(INSPECTOR || (INSPECTOR = {}));
  29. //# sourceMappingURL=BasicElement.js.map