Files
docx-js/src/file/paragraph/math/radical/math-radical-properties.ts
Dolan Miu 982d923553 Improve import alias
@file/ and @export/ instead of file/ and export/ etc
2022-06-26 23:26:42 +01:00

14 lines
376 B
TypeScript

// http://www.datypic.com/sc/ooxml/e-m_radPr-1.html
import { XmlComponent } from "@file/xml-components";
import { MathDegreeHide } from "./math-degree-hide";
export class MathRadicalProperties extends XmlComponent {
constructor(hasDegree: boolean) {
super("m:radPr");
if (!hasDegree) {
this.root.push(new MathDegreeHide());
}
}
}