@univerjssheets-hyper-link-uiindexclassesSheetshyperlinkresolverservice

@univerjs/sheets-hyper-link-ui v0.5.4


Class: SheetsHyperLinkResolverService

Defined in: sheets-hyper-link-ui/src/services/resolver.service.ts:56

Constructors

new SheetsHyperLinkResolverService()

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

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

Parameters

ParameterType
_univerInstanceServiceIUniverInstanceService
_commandServiceICommandService
_definedNamesServiceIDefinedNamesService
_messageServiceIMessageService
_localeServiceLocaleService
_configServiceIConfigService

Returns

SheetsHyperLinkResolverService

Methods

navigate(info): void

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

Parameters

ParameterType
infoISheetHyperLinkInfo

Returns

void


navigateToDefineName(unitId, rangeId): Promise<boolean>

Defined in: sheets-hyper-link-ui/src/services/resolver.service.ts:193

Parameters

ParameterType
unitIdstring
rangeIdstring

Returns

Promise<boolean>


navigateToOtherWebsite(url): Promise<void>

Defined in: sheets-hyper-link-ui/src/services/resolver.service.ts:198

Parameters

ParameterType
urlstring

Returns

Promise<void>


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

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

Parameters

ParameterType
unitIdstring
subUnitIdstring
rangeIRange
forceTop?boolean

Returns

Promise<void>


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

Defined in: sheets-hyper-link-ui/src/services/resolver.service.ts:155

Parameters

ParameterType
unitIdstring
subUnitIdstring

Returns

Promise<false | Worksheet>