@univerjs/ui v0.5.0-beta.1Docs


Class: PlatformService

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
Returns

boolean

Implementation of

IPlatformService.isLinux

Defined in

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


isMac

Get Signature

get isMac(): boolean
Returns

boolean

Implementation of

IPlatformService.isMac

Defined in

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


isWindows

Get Signature

get isWindows(): boolean
Returns

boolean

Implementation of

IPlatformService.isWindows

Defined in

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