Types
import type { Alignment, DockOptions, DockOptionsBreakpoint, FetchFeaturesOptions, PopupDockPosition } from "@arcgis/core/popup/types.js";Type definitions
Alignment
Type definition
- Since
- ArcGIS Maps SDK for JavaScript 5.0
- Type
- PopupPositionValue | (() => PopupPositionValue)
DockOptions
Type definition
- Since
- ArcGIS Maps SDK for JavaScript 5.0
breakpoint
Property
- Type
- DockOptionsBreakpoint | boolean | undefined
The breakpoint options for docking.
FetchFeaturesOptions
Type definition
- Since
- ArcGIS Maps SDK for JavaScript 5.0
event
Property
- Type
- ClickEvent | undefined
The view click event that is passed into the fetchFeatures method.
PopupDockPosition
Type definition
- Since
- ArcGIS Maps SDK for JavaScript 5.0
- Type
- PopupPositionValue | (() => PopupPositionValue)
PopupOutsideViewSide
Type definition
- Since
- ArcGIS Maps SDK for JavaScript 5.0
- Type
- "bottom" | "left" | "right" | "top"
PopupPositionResult
Type definition
- Since
- ArcGIS Maps SDK for JavaScript 5.0
- Type
- "bottom-center" | "bottom-left" | "bottom-right" | "top-center" | "top-left" | "top-right"
PopupPositionVariable
Type definition
- Since
- ArcGIS Maps SDK for JavaScript 5.0
- Type
- "auto" | "bottom-end" | "bottom-start" | "top-end" | "top-start"
PopupTemplateContentCreated
Type definition
- Since
- ArcGIS Maps SDK for JavaScript 5.0
Custom element content.
- Type
- string | HTMLElement | Widget | null | undefined
PopupTemplateContentCreatorFunction
Type definition
- Since
- ArcGIS Maps SDK for JavaScript 5.0
The function that is called to create the custom content element.
Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| event | The event that contains the Graphic used to represent the feature. | |
- Returns
- PopupTemplateContentCreated | PopupTemplateContentCreatorPromise
The created custom content element.
PopupTemplateContentCreatorPromise
Type definition
- Since
- ArcGIS Maps SDK for JavaScript 5.0
- Supertypes
- Promise<PopupTemplateContentCreated>
PopupTemplateContentDestroyer
Type definition
- Since
- ArcGIS Maps SDK for JavaScript 5.0
The function that is called to destroy the custom content element.
PopupTemplateContentFunction
Type definition
- Since
- ArcGIS Maps SDK for JavaScript 5.0
Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| event | The event that contains the Graphic used to represent the feature. | |
PopupTemplateContentPromise
Type definition
- Since
- ArcGIS Maps SDK for JavaScript 5.0
- Supertypes
- Promise<PopupTemplateContentResolved>
PopupTemplateContentResolved
Type definition
- Since
- ArcGIS Maps SDK for JavaScript 5.0
- Type
- PopupTemplateContentCreated | Content[]
PopupTemplateCreatorEvent
Type definition
- Since
- ArcGIS Maps SDK for JavaScript 5.0
The event that contains the Graphic used to represent the feature.
PopupTemplateTitleFunction
Type definition
- Since
- ArcGIS Maps SDK for JavaScript 5.0
Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| event | The event that contains the Graphic used to represent the feature. | |
PopupTemplateTitlePromise
Type definition
- Since
- ArcGIS Maps SDK for JavaScript 5.0
- Supertypes
- Promise<PopupTemplateTitleResolved>