@univerjs/sheets-hyper-link-ui v0.5.0-beta.1 • 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 |
Methods
dispose()
dispose(): void
Returns
void
Overrides
Defined in
sheets-hyper-link-ui/src/services/side-panel.service.ts:73
disposeWithMe()
disposeWithMe(disposable): IDisposable
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
Defined in
core/src/shared/lifecycle.ts:96
ensureNotDisposed()
protected ensureNotDisposed(): void
Returns
void
Inherited from
Defined in
core/src/shared/lifecycle.ts:100
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
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
getOptions()
getOptions(): {
label: string;
value: string;
}[]
Returns
{
label
: string
;
value
: string
;
}[]
Defined in
sheets-hyper-link-ui/src/services/side-panel.service.ts:50
isBuiltInLinkType()
isBuiltInLinkType(type): boolean
Parameters
Parameter | Type |
---|---|
type | string |
Returns
boolean
Defined in
sheets-hyper-link-ui/src/services/side-panel.service.ts:46
registerCustomHyperLink()
registerCustomHyperLink(customHyperLink): void
Parameters
Parameter | Type |
---|---|
customHyperLink | ICustomHyperLinkView |
Returns
void
Defined in
sheets-hyper-link-ui/src/services/side-panel.service.ts:60
removeCustomHyperLink()
removeCustomHyperLink(type): void
Parameters
Parameter | Type |
---|---|
type | string |
Returns
void
Defined in
sheets-hyper-link-ui/src/services/side-panel.service.ts:68