API Reference
@univerjs
@univerjs/ui
classes
Platformservice

@univerjs/ui v0.4.2Docs


Class: PlatformService

A service to provide context info of the host service.

Implements

Constructors

new PlatformService()

new PlatformService(): PlatformService

Returns

PlatformService

Accessors

isLinux

get isLinux(): boolean

Returns

boolean

Implementation of

IPlatformService.isLinux

Defined in

packages/ui/src/services/platform/platform.service.ts:39 (opens in a new tab)


isMac

get isMac(): boolean

Returns

boolean

Implementation of

IPlatformService.isMac

Defined in

packages/ui/src/services/platform/platform.service.ts:31 (opens in a new tab)


isWindows

get isWindows(): boolean

Returns

boolean

Implementation of

IPlatformService.isWindows

Defined in

packages/ui/src/services/platform/platform.service.ts:35 (opens in a new tab)


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