now extends XmlComponent

This commit is contained in:
Dolan Miu
2016-04-09 20:16:35 +01:00
parent 84610bd72f
commit f68a2aff56
33 changed files with 180 additions and 371 deletions

View File

@ -7,7 +7,7 @@ interface StyleAttributesProperties {
customStyle?: string;
}
export class StyleAttributes implements XmlComponent {
export class StyleAttributes extends XmlComponent {
private _attr: Object;
xmlKeys = {
@ -18,6 +18,7 @@ export class StyleAttributes implements XmlComponent {
};
constructor(properties?: StyleAttributesProperties) {
super("_attr");
this._attr = properties
if (!properties) {