@arcgis/core
Version:
ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API
27 lines (25 loc) • 650 B
TypeScript
import type { JSONSupport } from "../../core/JSONSupport.js";
import type { DirectionsStringType } from "./types.js";
/** @since 5.0 */
export interface DirectionsStringProperties extends Partial<Pick<DirectionsString, "text" | "type">> {}
/**
* An event string object with name and type.
*
* @since 5.0
*/
export default class DirectionsString extends JSONSupport {
/** that may be passed into the constructor. */
constructor(properties?: DirectionsStringProperties);
/**
* The direction text.
*
* @since 5.0
*/
accessor text: string;
/**
* The type of event.
*
* @since 5.0
*/
type: DirectionsStringType;
}