Files
docx-js/src/file/paragraph/links/bookmark-attributes.ts
2021-03-15 00:11:39 +00:00

20 lines
438 B
TypeScript

import { XmlAttributeComponent } from "file/xml-components";
export class BookmarkStartAttributes extends XmlAttributeComponent<{
readonly id: string;
readonly name: string;
}> {
protected readonly xmlKeys = {
id: "w:id",
name: "w:name",
};
}
export class BookmarkEndAttributes extends XmlAttributeComponent<{
readonly id: string;
}> {
protected readonly xmlKeys = {
id: "w:id",
};
}