The actionsSections property of the ListItem class does not change when the 'type' is set to toggle (ActionToggle) in ArcGIS Maps SDK for JavaScript 4.29.
ArcGIS Maps SDK for JavaScript
漏洞 ID 编号
BUG-000167419
已提交
May 13, 2024
上次修改时间
December 6, 2024
适用范围
ArcGIS Maps SDK for JavaScript
找到的版本
4.29
操作系统
N/A
操作系统版本
N/A
状态
As Designed
经开发团队审核,已确定此行为符合设计。 有关详细信息,请参阅“其他信息”部分。
附加信息
In ArcGIS Maps SDK for JavaScript 4.29, the layer list is refactored to use calcite components, so it looks different but still functions the same. The action toggle icon is now a question mark by default but can be set to any calcite icon. When the value of the action toggle's value is true (it's toggled on), a gray background indicates that the toggle is active. The icons for the toggle can also be changed based on the action toggle current value, as shown in this codepen, which adds or removes a layer effect based on the value of the action toggle.
https://codepen.io/sagewall/pen/RwzZJPy