authorHintsDecision
authorHintsDecision(
host):AuthorHintsDecision
Defined in: packages/core/src/components/author-hints.ts:103
Whether an element shows author hints, and why.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
host | Element | The <ml-map> or <ml-scrollytelling> that would show them. |
Returns
Section titled “Returns”Remarks
Section titled “Remarks”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.