The before-leave is not an event and should be passed via v-bind:before-leave (or :before-leave).
In Element Plus documentation, attributes, events, and slots are typically categorized on the right side using dedicated sections labeled Attributes, Events, and Slots.