@univerjs/sheets-hyper-link v0.5.1Docs


Interface: IFWorkbookHyperlinkMixin

Methods

createSheetHyperlink(
   this, 
   sheetId, 
   range?): string

create a hyperlink for the sheet

Parameters

ParameterTypeDescription
thisFWorkbook-
sheetIdstringthe sheet id to link
range?string | IRangethe range to link, or define-name id

Returns

string

the hyperlink string

Defined in

sheets-hyper-link/src/facade/f-workbook.ts:29


parseSheetHyperlink(this, hyperlink): ISheetHyperLinkInfo

parse the hyperlink string to get the hyperlink info

Parameters

ParameterTypeDescription
thisFWorkbook-
hyperlinkstringthe hyperlink string

Returns

ISheetHyperLinkInfo

the hyperlink info

Defined in

sheets-hyper-link/src/facade/f-workbook.ts:36