diff options
Diffstat (limited to 'src/elements/Defs.js')
-rw-r--r-- | src/elements/Defs.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/elements/Defs.js b/src/elements/Defs.js new file mode 100644 index 0000000..58932cb --- /dev/null +++ b/src/elements/Defs.js @@ -0,0 +1,13 @@ +import { nodeOrNew, register } from '../utils/adopter.js' +import Container from './Container.js' + +export default class Defs extends Container { + constructor (node) { + super(nodeOrNew('defs', node), Defs) + } + + flatten () { return this } + ungroup () { return this } +} + +register(Defs) |