Hi, I am building a custom widget where on click needs to open sidebar widget. kindly suggest me
Thanks,
Naveen
You will need to find the Widget Id number of the Sidebar Widget then use it in this function.
//To open sidebar getAppStore().dispatch(appActions.widgetStatePropChange(`widget_${sidebarId}`, 'collapse', true)) //To close sidebar getAppStore().dispatch(appActions.widgetStatePropChange(`widget_${sidebarId}`, 'collapse', false))
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.