Files
docx-js/src/file/paragraph/links/bookmark-attributes.ts

20 lines
438 B
TypeScript
Raw Normal View History

2018-07-24 15:56:13 -04:00
import { XmlAttributeComponent } from "file/xml-components";
2021-03-15 00:11:39 +00:00
export class BookmarkStartAttributes extends XmlAttributeComponent<{
readonly id: string;
readonly name: string;
2021-03-15 00:11:39 +00:00
}> {
protected readonly xmlKeys = {
2018-07-24 15:56:13 -04:00
id: "w:id",
name: "w:name",
};
}
2021-03-15 00:11:39 +00:00
export class BookmarkEndAttributes extends XmlAttributeComponent<{
readonly id: string;
2021-03-15 00:11:39 +00:00
}> {
protected readonly xmlKeys = {
2018-07-24 15:56:13 -04:00
id: "w:id",
};
}