interface BookmarkType {
    color: () => Promise<string>;
    destination: (doc?: DocType) => Promise<null | DestType>;
    destroy: () => Promise<void>;
    doc: null | DocType;
    fontStyle: () => Promise<number>;
    options: Options;
    title: () => Promise<string>;
}

Implemented by

Properties

color: () => Promise<string>

Get the color of the bookmark.

Type declaration

    • (): Promise<string>
    • Returns Promise<string>

      Return the color of the bookmark.

destination: (doc?: DocType) => Promise<null | DestType>

Get the destination of the bookmark.

Type declaration

    • (doc?: DocType): Promise<null | DestType>
    • Parameters

      • Optionaldoc: DocType

        The document object, representing the document to operate on.

      Returns Promise<null | DestType>

      Return the destination object.

destroy: () => Promise<void>

Destroy the current object.

Type declaration

    • (): Promise<void>
    • Returns Promise<void>

doc: null | DocType

The related document object.

fontStyle: () => Promise<number>

Get the font style of the bookmark.

Type declaration

options: Options
title: () => Promise<string>

Get the title of the bookmark.

Type declaration

    • (): Promise<string>
    • Returns Promise<string>

      Return the title of the bookmark.