@univerjssheets-hyper-link-uiindexclassesSheetshyperlinkresolverservice

@univerjs/sheets-hyper-link-ui v0.5.0-beta.1Docs


Class: SheetsHyperLinkResolverService

Constructors

new SheetsHyperLinkResolverService()

new SheetsHyperLinkResolverService(
   _univerInstanceService, 
   _commandService, 
   _definedNamesService, 
   _messageService, 
   _localeService, 
   _configService): SheetsHyperLinkResolverService

Parameters

ParameterType
_univerInstanceServiceIUniverInstanceService
_commandServiceICommandService
_definedNamesServiceIDefinedNamesService
_messageServiceIMessageService
_localeServiceLocaleService
_configServiceIConfigService

Returns

SheetsHyperLinkResolverService

Defined in

sheets-hyper-link-ui/src/services/resolver.service.ts:57

Methods

navigate(info): void

Parameters

ParameterType
infoISheetHyperLinkInfo

Returns

void

Defined in

sheets-hyper-link-ui/src/services/resolver.service.ts:66


navigateToDefineName(unitId, rangeId): Promise<boolean>

Parameters

ParameterType
unitIdstring
rangeIdstring

Returns

Promise<boolean>

Defined in

sheets-hyper-link-ui/src/services/resolver.service.ts:192


navigateToOtherWebsite(url): Promise<void>

Parameters

ParameterType
urlstring

Returns

Promise<void>

Defined in

sheets-hyper-link-ui/src/services/resolver.service.ts:197


navigateToRange(
   unitId, 
   subUnitId, 
   range, 
forceTop?): Promise<void>

Parameters

ParameterType
unitIdstring
subUnitIdstring
rangeIRange
forceTop?boolean

Returns

Promise<void>

Defined in

sheets-hyper-link-ui/src/services/resolver.service.ts:132


navigateToSheetById(unitId, subUnitId): Promise<false | Worksheet>

Parameters

ParameterType
unitIdstring
subUnitIdstring

Returns

Promise<false | Worksheet>

Defined in

sheets-hyper-link-ui/src/services/resolver.service.ts:154