added style components
This commit is contained in:
16
ts/docx/xml-components/base-attributes.ts
Normal file
16
ts/docx/xml-components/base-attributes.ts
Normal file
@ -0,0 +1,16 @@
|
||||
import {XmlComponent} from "./";
|
||||
|
||||
export abstract class BaseAttributes implements XmlComponent {
|
||||
private _attr: Object;
|
||||
|
||||
xmlKeys = {};
|
||||
|
||||
constructor(xmlKeys: Object, properties?: any) {
|
||||
this._attr = properties
|
||||
|
||||
if (!properties) {
|
||||
this._attr = {};
|
||||
}
|
||||
this._attr["xmlKeys"] = this.xmlKeys;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user