require(["esri/webscene/applicationProperties/Search"], function(Search) { /* code goes here */ });
Class: esri/webscene/applicationProperties/Search
Inheritance: Search Accessor
Since: ArcGIS API for JavaScript 4.7

Represents the search parameters set within the web scene.

Constructors

new Search(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.
NameTypeSummaryClass
String

The name of the class.

more details
more detailsAccessor
Boolean

Whether search functionality is enabled in the web scene.

more details
more detailsSearch
String

The hint provided with the search dialog.

more details
more detailsSearch
Collection<SearchLayer>

A collection of layers to be included in search.

more details
more detailsSearch

Property Details

declaredClassStringreadonly inherited
Since: ArcGIS API for JavaScript 4.7

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

enabledBoolean

Whether search functionality is enabled in the web scene.

hintTextString

The hint provided with the search dialog.

A collection of layers to be included in search.

Method Overview

NameReturn TypeSummaryClass
Search

Creates a deep clone of this object.

more details
more detailsSearch

Method Details

clone(){Search}

Creates a deep clone of this object.

Returns:
TypeDescription
SearchCreates a deep clone of the instance calling this method.

API Reference search results

NameTypeModule
Loading...