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"