As I develop a data dashboard with Vega for visualizing outputs, I decided to customize the menu system by removing the actions dropdown. However, I still want to incorporate the "Save as PNG" option from the original dropdown (as shown in the image below) into my custom menu. This should be relatively simple since the image creation architecture already exists and works well. My main challenge lies in referencing those actions separately from the original menu.
Is there a way to link the functionality of saving as PNG to a button outside of the Vega actions dropdown?