Interface IHyperlink

interface IHyperlink {
    address: string;
    history?: boolean;
    tgtFrame?: string;
    tooltip?: string;
    isEmpty(): boolean;
    toJSON(): Partial<{
        address: string;
        history?: string | Partial<boolean>;
        tgtFrame?: string;
        tooltip?: string;
    }>;
}

Hierarchy

Implemented by

Properties

address: string

This can be a url or a cell address. Note - sheet address need to start with a #

history?: boolean

Specifies whether to add this URI to the history when navigating to it.

Default Value

true
tgtFrame?: string

Specified the target frame when opening this Hyperlink.

Default Value

newWindow
tooltip?: string

A text that can show addition information about the link that will be displayed as a tooltip.

Remark

Excel has an undocumented tooltip length limit of 255 characters.

Methods

  • Returns boolean

  • Returns Partial<{
        address: string;
        history?: string | Partial<boolean>;
        tgtFrame?: string;
        tooltip?: string;
    }>