Skip to content
Docs
Reference

Interface: LoadElementsOptions

Interface: LoadElementsOptions in @ticketlayer/live.

@ticketlayer/live


@ticketlayer/live / index / LoadElementsOptions

Defined in: state/loadElements.ts:67

Extended by#

Properties#

elements?#

optional elements?: boolean;

Defined in: state/loadElements.ts:69

Enable runtime injection (default false - most hosts import Elements directly).


elementsIntegrity?#

optional elementsIntegrity?: string;

Defined in: state/loadElements.ts:79

Subresource integrity for elementsUrl, as /versions.json publishes it (sha384-...). Required for an exact-version URL, refused without one.


elementsUrl?#

optional elementsUrl?: string;

Defined in: state/loadElements.ts:74

Override the Elements ESM bundle URL: a pinned CDN build, or a local dist in dev. An exact-version URL must come with elementsIntegrity.