Skip to content

pixso.host

The pixso.host object provides APIs for plugin host related properties.

clientWidth

  • Readonly:true
  • Type: number
  • Tip: Cross-thread Communication

Gets the width of the plugin host's visual window.

clientHeight

  • Readonly:true
  • Type: number
  • Tip: Cross-thread Communication

Gets the height of the plugin host's visual window.

platform

  • Readonly: true
  • Type: PlatformType
  • Tip: Cross-thread Communication
typescript
type PlatformType = "MAC" | "WINDOWS" | "UNKNOWN";

Returns the operating system type of the host.