Hello Guys,
I am using arcGIS 4.19 with ES module. Trying to hide default Zoomto button.
used code:
view.popup.dividedActions.inlineActions.items[0].className = "hideZoomTO"
view.popup.dividedActions.inlineActions.items[0].visible = false;
this.view.popup.viewModel.allActions.getItemAt(0).visible = false
These all code are working but taking sometime. That means Its hiding but taking some micro seconds to hide the button.
Is there any method to hide the default button.