This module re-exports the Vega-Lite adapter API and exposes it globally
for script-tag (UMD) usage. The primary consumer-facing API is
bindVegaLite, which converts a Vega-Lite spec to MAIDR and mounts
the accessible UI on the rendered SVG.
Remarks
Vega-Lite renders asynchronously via vegaEmbed(). The adapter must be
called aftervegaEmbed() resolves so that the SVG and the compiled
Vega view are both available.
Vega-Lite adapter entry point for MAIDR.
This module re-exports the Vega-Lite adapter API and exposes it globally for script-tag (UMD) usage. The primary consumer-facing API is bindVegaLite, which converts a Vega-Lite spec to MAIDR and mounts the accessible UI on the rendered SVG.
Remarks
Vega-Lite renders asynchronously via
vegaEmbed(). The adapter must be called aftervegaEmbed()resolves so that the SVG and the compiled Vega view are both available.Example