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