* Create new element, add it to active node, and set it as active. * @param tag {String} Element Tag name * @param attributes {Object} Element attributes * @param childElements {Array} Element children
(tag, attributes, childElements)
| 75 | * @param childElements {Array} Element children |
| 76 | */ |
| 77 | openTag(tag, attributes, childElements) { |
| 78 | const element = this.addChild(tag, attributes, childElements); |
| 79 | this.activeNode = element; |
| 80 | } |
| 81 | |
| 82 | /** |
| 83 | * Create new element and add to active node. |