Skip to content

Function: getPlayViewContext()

API / @xmachines/play-svelte / getPlayViewContext

function getPlayViewContext(): ViewContextValue;

Defined in: packages/play-svelte/src/actor-context.svelte.ts:63

Returns the current view context of the nearest ActorProvider ancestor.

Returns

ViewContextValue

Throws

When the caller is outside or