Skip to content

authorHintsDecision

authorHintsDecision(host): AuthorHintsDecision

Defined in: packages/core/src/components/author-hints.ts:103

Whether an element shows author hints, and why.

ParameterTypeDescription
hostElementThe <ml-map> or <ml-scrollytelling> that would show them.

AuthorHintsDecision

In order: quiet hides everything; debug (on the element, or on the <ml-scrollytelling> it belongs to) shows hints anywhere; otherwise they show on a page served from this computer and in a bundler dev build, and stay hidden on a published site.