summaryrefslogtreecommitdiffstats
path: root/src/nested.js
blob: 6245ca61c4f2234cc4aa266994e7e2a1ab9d7e86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
SVG.Nested = function Nested() {
  this.drag = new SVG.Draggable(this);
  this.constructor.call(this, SVG.createElement('svg'));
  this.setAttribute('overflow', 'visible');
};

// inherit from SVG.Element
SVG.Nested.prototype = new SVG.Element();

// include the container object
SVG.Nested.include(SVG.Container);