import PortalRating from "@arcgis/core/portal/PortalRating.js";const PortalRating = await $arcgis.import("@arcgis/core/portal/PortalRating.js");- Inheritance:
- PortalRating→
Accessor
- Since
- ArcGIS Maps SDK for JavaScript 4.2
PortalRating provides details about the rating associated with a Portal item. View the ArcGIS REST API documentation for the Item Rating for more details.
Constructors
Constructor
Constructor
Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| properties | | |
See the properties table for a list of all the
properties that may be passed into the constructor.
Properties
Any properties can be set, retrieved or listened to. See the
Watch for changes
topic.