UNPKG

@arcgis/map-components

Version:
24 lines (22 loc) 1.35 kB
/// <reference types="@arcgis/core/interfaces.d.ts" /> /// <reference types="../../index.d.ts" /> import { ArcgisReferenceElement, WidgetOrMapComponent } from '../../utils/component-utils'; import { PropertyValues } from 'lit'; import { ToElement, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina'; /** * The placement component is used to position content relative to the map. This component may be **temporary** until we offer a more robust solution. * * [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-placement/) */ export declare class ArcgisPlacement extends LitElement { /** @default "bottom-left" */ position: __esri.UIPosition; /** * By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene. * * @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component) */ referenceElement?: ArcgisReferenceElement | string; /** Emitted when the component associated with a map or scene view is is ready to be interacted with. */ readonly arcgisReady: TargetedEvent<this, void>; }