UNPKG

@arcgis/core

Version:

ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API

25 lines (23 loc) 1.26 kB
import type Accessor from "../../core/Accessor.js"; /** * @deprecated since version 4.33. Use the [Weather component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-weather/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/). * @since 5.0 */ export interface VisibleElementsProperties extends Partial<Pick<VisibleElements, "header">> {} /** * The visible elements that are displayed within the widget. * This provides the ability to turn individual elements of the widget's display on/off. * * @deprecated since version 4.33. Use the [Weather component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-weather/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/). * @since 5.0 */ export default class VisibleElements extends Accessor { constructor(properties?: VisibleElementsProperties); /** * When set to `false`, the header is not displayed. * * @default true * @since 5.0 */ accessor header: boolean; }