Hello Guys,
I am using arcGIS 4.19 with ES module. Trying to hide default Zoomto button.
used code:
You can set the PopupTemplate overWriteActions to true and don't provide an actions array.
This will remove it.
Here is another option that worked great for me-
view.popup.visibleElements = {
actionBar: false,
};