@univerjs/sheets-hyper-link v0.5.1 • Docs
Interface: IFRangeHyperlinkMixin
Methods
cancelHyperLink()
cancelHyperLink(id): Promise<boolean>
Cancel hyperlink in the cell in the range. [!important] This method is async.
Parameters
Parameter | Type | Description |
---|---|---|
id | string | id of the hyperlink |
Returns
Promise
<boolean
>
success or not
Defined in
sheets-hyper-link/src/facade/f-range.ts:51
getHyperLinks()
getHyperLinks(): ICellHyperLink[]
Get all hyperlinks in the cell in the range.
Returns
hyperlinks
Defined in
sheets-hyper-link/src/facade/f-range.ts:35
updateHyperLink()
updateHyperLink(
id,
url,
label?): Promise<boolean>
Update hyperlink in the cell in the range. [!important] This method is async.
Parameters
Parameter | Type | Description |
---|---|---|
id | string | id of the hyperlink |
url | string | url |
label ? | string | optional, label of the url |
Returns
Promise
<boolean
>
success or not
Defined in
sheets-hyper-link/src/facade/f-range.ts:44