ExperienceMount
ExperienceMount<
S,F,K> = (root,ctx) => () =>void
A module’s default export: draw into root, the experience’s shadow root,
and return the function that undoes it. Synchronous, never async.
No selector crosses root either way, but inherited custom properties
(--*) and the page’s root font size (rem) do, as in any shadow root:
set your own properties, and size in px or em.
Type Parameters
Section titled “Type Parameters”S extends SiteSchema = SiteSchema
F extends FeatureNameOf<S> = FeatureNameOf<S>
K extends OutcomeIdOf<S, F> = OutcomeIdOf<S, F>
Parameters
Section titled “Parameters”ShadowRoot
ExperienceContext<S, F, K>
Returns
Section titled “Returns”() => void