@univerjs/ui v0.5.4


Class: PlatformService

Defined in: submodules/univer/packages/ui/src/services/platform/platform.service.ts:30

A service to provide context info of the host service.

Implements

Constructors

new PlatformService()

new PlatformService(): PlatformService

Returns

PlatformService

Accessors

isLinux

Get Signature

get isLinux(): boolean

Defined in: submodules/univer/packages/ui/src/services/platform/platform.service.ts:39

Returns

boolean

Implementation of

IPlatformService.isLinux


isMac

Get Signature

get isMac(): boolean

Defined in: submodules/univer/packages/ui/src/services/platform/platform.service.ts:31

Returns

boolean

Implementation of

IPlatformService.isMac


isWindows

Get Signature

get isWindows(): boolean

Defined in: submodules/univer/packages/ui/src/services/platform/platform.service.ts:35

Returns

boolean

Implementation of

IPlatformService.isWindows