Optional guard called before any close gesture (X button, backdrop click, Escape).
Return false to cancel the close — e.g., when an in-progress operation is running.
The panel itself never shows a dialog; the consumer is responsible for any confirmation UI.
Initial width in pixels. Defaults to 65% of viewport for slide, 800px for dialog.
A callback method that performs custom clean-up, invoked immediately before a directive, pipe, or service instance is destroyed.
A callback method that is invoked immediately after the default change detector has checked the directive's data-bound properties for the first time, and before any of the view or content children have been checked. It is invoked only once when the directive is instantiated.
Generic slide-in / centered-dialog panel primitive.
Mode='slide'→ slides in from the right edge, full viewport height, optionally resizable.Mode='dialog'→ centered modal card.Pure chrome: it owns the backdrop, open/close animation, resize handle, optional title bar, and content projection. It performs no data work and has no routing. Consumers project their content and handle Save/close via the projected UI and the
Closedoutput.Example