Files
docx-js/src/file/paragraph/math/radical/math-degree.ts

16 lines
413 B
TypeScript
Raw Normal View History

2020-10-10 13:41:26 +01:00
// http://www.datypic.com/sc/ooxml/e-m_deg-1.html
import { XmlComponent } from "file/xml-components";
import { MathComponent } from "../math-component";
export class MathDegree extends XmlComponent {
2020-10-13 02:06:27 +01:00
constructor(children?: MathComponent[]) {
2020-10-10 13:41:26 +01:00
super("m:deg");
2020-10-13 02:06:27 +01:00
if (!!children) {
for (const child of children) {
this.root.push(child);
}
2020-10-10 13:41:26 +01:00
}
}
}