29 lines
445 B
JavaScript
Raw Normal View History

/* eslint-disable */
import Node from './Node'
export default class Element extends Node {
constructor() {
super()
this.className = ''
this.children = []
}
setAttribute(name, value) {
this[name] = value
}
getAttribute(name) {
return this[name]
}
setAttributeNS(name, value) {
this[name] = value
}
getAttributeNS(name) {
return this[name]
}
}