IBookmark interface
đ Descriptionâ
Describes the interface that holds a bookmark.
đ Type declarationâ
interface IBookmark { id: string;Readonly section: Section | undefined;Readonly context: Context | undefined;Readonly label: string;Readonly name: string;Readonly description: string;Readonly level: number;Readonly validation: "passed" | "partial" | "failed";Readonly nodes: IObservableNode[];Readonly bookmarks: IBookmark[];Readonly }
đąī¸ Hover with the mouse over a property name for a tooltip with the description of that property. Click it for more information.
đī¸ Propertiesâ
đˇī¸ bookmarksâ
Specifies any sub-bookmarks.
Typeâ
đˇī¸ contextâ
Contains the context for the bookmark.
Typeâ
Context | undefined
đˇī¸ descriptionâ
Description for the bookmark.
Typeâ
string
đˇī¸ idâ
Contains the identifier of the bookmark.
Typeâ
string
đˇī¸ labelâ
Name for the bookmark (this is the name of the bookmark with any markdown processed).
Typeâ
string
đˇī¸ levelâ
Specifies the bookmark (indentation) level (the first level is 1).
Typeâ
number
đˇī¸ nameâ
Name for the bookmark.
Typeâ
number
đˇī¸ nodesâ
Contains the nodes in the bookmark.
Typeâ
đˇī¸ sectionâ
Reference to the section that defined the bookmark.
Typeâ
Section | undefined
đˇī¸ validationâ
Contains the validation state of the bookmark. Can be one of the following values:
passed: All nodes (and sub-bookmarks) passed validation;partial: All nodes of the bookmark passed validation, but one or more sub-bookmarks failed;failed: One or more nodes failed validation.
Typeâ
"passed" | "partial" | "failed"