@univerjs/ui v0.4.2 • Docs
Class: PlatformService
A service to provide context info of the host service.
Implements
Constructors
new PlatformService()
new PlatformService(): PlatformService
Returns
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)