aboutsummaryrefslogtreecommitdiffstats
path: root/src/elements/Defs.js
blob: 28266119f6e89e0ce34d616c610074b2ad54e980 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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), node)
  }

  flatten () { return this }
  ungroup () { return this }
}

register(Defs)