ScaleBarViewModel

require(["esri/widgets/ScaleBar/ScaleBarViewModel"], function(ScaleBarViewModel) { /* code goes here */ });
Class: esri/widgets/ScaleBar/ScaleBarViewModel
Inheritance: ScaleBarViewModel Accessor
Since: ArcGIS API for JavaScript 4.3

Provides the logic for the ScaleBar widget.

See also:

Constructors

new ScaleBarViewModel(properties)

Parameter:
properties Object
optional

See the properties for a list of all the properties that may be passed into the constructor.

Property Overview

Any properties can be set, retrieved or listened to. See the Working with Properties topic.
NameTypeSummary
String

The name of the class.

more details
more details
MapView

The view from which the widget will operate.

more details
more details

Property Details

declaredClassStringreadonly

The name of the class. The declared class name is formatted as esri.folder.className.

The view from which the widget will operate.

API Reference search results

NameTypeModule

There were no match results from your search criteria.