API Reference
@univerjs
@univerjs/ui
classes
Desktopglobalzoneservice

@univerjs/ui v0.4.2Docs


Class: DesktopGlobalZoneService

Implements

Constructors

new DesktopGlobalZoneService()

new DesktopGlobalZoneService(_componentManager): DesktopGlobalZoneService

Parameters

ParameterType
_componentManagerComponentManager

Returns

DesktopGlobalZoneService

Defined in

packages/ui/src/services/global-zone/desktop-global-zone.service.ts:30 (opens in a new tab)

Properties

PropertyModifierTypeDefined in
componentKey$readonlySubject<string>packages/ui/src/services/global-zone/desktop-global-zone.service.ts:27 (opens in a new tab)
visible$readonlySubject<boolean>packages/ui/src/services/global-zone/desktop-global-zone.service.ts:26 (opens in a new tab)

Accessors

componentKey

get componentKey(): string

Returns

string

Implementation of

IGlobalZoneService.componentKey

Defined in

packages/ui/src/services/global-zone/desktop-global-zone.service.ts:37 (opens in a new tab)

Methods

close()

close(): void

Returns

void

Implementation of

IGlobalZoneService.close

Defined in

packages/ui/src/services/global-zone/desktop-global-zone.service.ts:57 (opens in a new tab)


open()

open(): void

Returns

void

Implementation of

IGlobalZoneService.open

Defined in

packages/ui/src/services/global-zone/desktop-global-zone.service.ts:53 (opens in a new tab)


set()

set(key, component): IDisposable

Parameters

ParameterType
keystring
componentForwardRefExoticComponent<any>

Returns

IDisposable

Implementation of

IGlobalZoneService.set

Defined in

packages/ui/src/services/global-zone/desktop-global-zone.service.ts:41 (opens in a new tab)


Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.