Skip to content

PageTitleContext

Properties

actionTarget

The element page actions teleport into, resolved from the zone the display bound. null until a zone is bound.

Type: ComputedRef

Source: client/lib/use/usePageTitle.js:21

bindActionZone

Bind the element (or element ref) the display uses to host teleported page actions.

Type: (zone: HTMLElement | Ref) => void

Source: client/lib/use/usePageTitle.js:23

current

The active entry (the most recently registered source), or an empty object when no view has registered one.

Type: ComputedRef

Source: client/lib/use/usePageTitle.js:20

register

Register a title source. Returns a cleanup function and, when called inside an effect scope, clears itself automatically on dispose.

Type: (source: () => PageTitleEntry) => () => void

Source: client/lib/use/usePageTitle.js:22

Source

client/lib/use/usePageTitle.js:19

Documents matching: server v3.0.0a1.post1client v3.0.0-alpha.2