Skip to content

ExpansionPanelListChangeEvent 继承自: Event['ExpansionPanelList']

Payload for on_change event.

属性 ​

名称类型默认值说明
indexintrequiredThe index of the panel in controls that was toggled. Panels with visible set to False are not counted/indexed. This means the value may differ from the panel's position in the original controls list when some panels are invisible. To map it back, filter controls to only visible panels and use this index on that filtered list.
expandedboolrequiredWhether the toggled panel is expanded (True) or collapsed (False) after the event.

关注我,学习大模型、大数据、Python等热门技术。