Class IFrameClientServicesProxy

Less than 1 minute

Class IFrameClientServicesProxy

Declared in packages/sdk/client/src/packlets/client/iframe-service-proxy.ts:41open in new window

Proxy to host client service via iframe.

Constructors

constructor(options)open in new window

Returns: IFrameClientServicesProxy

Arguments:

options: Partial<IFrameClientServicesProxyOptions>

Properties

joinedSpaceopen in new window

Type: Event<PublicKey>

contextUpdateopen in new window

Type: undefined | Event<AppContextRequest>

descriptorsopen in new window

Type: ServiceBundle<ClientServices>

displayopen in new window

Type: undefined | ShellDisplay

proxyopen in new window

Type: ProtoRpcPeer<ClientServices>

servicesopen in new window

Type: ClientServices

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">

setSpaceProvider(provider)open in new window

Returns: void

Arguments:

provider: Provider<undefined | PublicKey>