Class ShellController

Less than 1 minute

Class ShellController

Declared in packages/sdk/client/src/packlets/proxies/shell-controller.ts:15open in new window

Provide access to the shell via RPC connection.

Constructors

constructor(_port)open in new window

Returns: ShellController

Arguments:

_port: RpcPort

Properties

contextUpdateopen in new window

Type: Event<AppContextRequest>

displayopen in new window

Type: ShellDisplay

Methods

close()open in new window

Returns: Promise<void>

Arguments: none

open()open in new window

Returns: Promise<void>

Arguments: none

setLayout(layout, options)open in new window

Returns: Promise<void>

Arguments:

layout: ShellLayout

options: Omit<LayoutRequest, "layout">