@univerjs/sheets-hyper-link-ui v0.4.2 • Docs
Class: SheetsHyperLinkSidePanelService
Extends
Constructors
new SheetsHyperLinkSidePanelService()
new SheetsHyperLinkSidePanelService(): SheetsHyperLinkSidePanelService
Returns
SheetsHyperLinkSidePanelService
Inherited from
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | core/src/shared/lifecycle.ts:93 (opens in a new tab) |
Methods
dispose()
dispose(): void
Returns
void
Overrides
Defined in
sheets-hyper-link-ui/src/services/side-panel.service.ts:73 (opens in a new tab)
disposeWithMe()
disposeWithMe(disposable): IDisposable
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
Defined in
core/src/shared/lifecycle.ts:96 (opens in a new tab)
ensureNotDisposed()
protected ensureNotDisposed(): void
Returns
void
Inherited from
Defined in
core/src/shared/lifecycle.ts:100 (opens in a new tab)
findCustomHyperLink()
findCustomHyperLink(link): undefined | ICustomHyperLinkView
Parameters
Parameter | Type |
---|---|
link | ICellHyperLink |
Returns
undefined
| ICustomHyperLinkView
Defined in
sheets-hyper-link-ui/src/services/side-panel.service.ts:54 (opens in a new tab)
getCustomHyperLink()
getCustomHyperLink(type): undefined | ICustomHyperLinkView
Parameters
Parameter | Type |
---|---|
type | string |
Returns
undefined
| ICustomHyperLinkView
Defined in
sheets-hyper-link-ui/src/services/side-panel.service.ts:64 (opens in a new tab)
getOptions()
getOptions(): {
label: string;
value: string;
}[]
Returns
{
label
: string
;
value
: string
;
}[]
Defined in
sheets-hyper-link-ui/src/services/side-panel.service.ts:50 (opens in a new tab)
isBuiltInLinkType()
isBuiltInLinkType(type): boolean
Parameters
Parameter | Type |
---|---|
type | string |
Returns
boolean
Defined in
sheets-hyper-link-ui/src/services/side-panel.service.ts:46 (opens in a new tab)
registerCustomHyperLink()
registerCustomHyperLink(customHyperLink): void
Parameters
Parameter | Type |
---|---|
customHyperLink | ICustomHyperLinkView |
Returns
void
Defined in
sheets-hyper-link-ui/src/services/side-panel.service.ts:60 (opens in a new tab)
removeCustomHyperLink()
removeCustomHyperLink(type): void
Parameters
Parameter | Type |
---|---|
type | string |
Returns
void
Defined in
sheets-hyper-link-ui/src/services/side-panel.service.ts:68 (opens in a new tab)