Skip to content
import VertexAddEvent from "@arcgis/core/views/draw/VertexAddEvent.js";
Since
ArcGIS Maps SDK for JavaScript 5.0

Properties

PropertyTypeClass
type
readonly
"vertex-add"
number[][]

defaultPrevented

Property
Type
boolean

Set to true when preventDefault() is called.

Default value
false

type

readonly Property
Type
"vertex-add"

The type of the event.

vertexIndex

Property
Type
number

Index of the vertex where the event was applied.

vertices

Property
Type
number[][]

Two-dimensional array of numbers representing the coordinates of each vertex that make the geometry.

Methods

MethodSignatureClass
preventDefault(): void

preventDefault

Method
Signature
preventDefault (): void

Prevents event propagation bubbling up the event chain.

Returns
void