Files
docx-js/ts/docx/xml-components/base-attributes.ts

16 lines
349 B
TypeScript
Raw Normal View History

2016-04-09 04:27:49 +01:00
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;
}
}