Skip to content

Function: getPlayViewContext()

API / @xmachines/play-svelte / getPlayViewContext

function getPlayViewContext(): ViewContextValue;

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

Get the current view context from the nearest ActorProvider ancestor.

Returns

ViewContextValue

Throws

if called outside or