Files
docx-js/src/file/paragraph/math/n-ary/math-base.ts

15 lines
376 B
TypeScript
Raw Normal View History

2019-08-20 20:40:40 +01:00
// http://www.datypic.com/sc/ooxml/e-m_e-1.html
import { XmlComponent } from "@file/xml-components";
2019-08-20 20:40:40 +01:00
2020-10-10 13:41:26 +01:00
import { MathComponent } from "../math-component";
2019-08-20 20:40:40 +01:00
export class MathBase extends XmlComponent {
public constructor(children: readonly MathComponent[]) {
2019-08-20 20:40:40 +01:00
super("m:e");
2020-10-13 02:06:27 +01:00
for (const child of children) {
this.root.push(child);
}
2019-08-20 20:40:40 +01:00
}
}