import { LitElement } from 'lit'; /** * @htmlElement `` * * A Web Component that provides a consistent inline loading element. When in the * loading state, the element shows a spinner. When a search succeeds, the spinner * is hidden. When no results are returned or an error occurs, an alert icon is * shown. Optionally, a tooltip may be shown with every icon with a context-specific * message. * * @example * By default, the loading element is not visible. It should be interacted with via * JavaScript: * ```html * * * * * * ``` * * @example * By default, the loading element uses "data" in its tooltip messages, e.g. "No data * loaded". This can be override using the {@link dataType | `dataType`} * attribute/property: * ```html * * * *