This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
function onMenuCreated(handler: function): void;
handler(event: MenuCreatedEnvelope): void | Promise<void>
import { menus } from "@wix/restaurants";
menus.onMenuCreated((event) => {
// handle your event here
});