MCPcopy Create free account
hub / github.com/ionic-team/ionic-framework / onSplitPaneChanged

Method onSplitPaneChanged

core/src/components/menu/menu.tsx:317–325  ·  view source on GitHub ↗
(ev: CustomEvent<{ visible: boolean }>)

Source from the content-addressed store, hash-verified

315
316 @Listen('ionSplitPaneVisible', { target: 'body' })
317 onSplitPaneChanged(ev: CustomEvent<{ visible: boolean }>) {
318 const closestSplitPane = this.el.closest<HTMLIonSplitPaneElement>('ion-split-pane');
319
320 if (closestSplitPane !== null && closestSplitPane === ev.target) {
321 this.isPaneVisible = ev.detail.visible;
322
323 this.updateState();
324 }
325 }
326
327 @Listen('click', { capture: true })
328 onBackdropClick(ev: any) {

Callers

nothing calls this directly

Calls 1

updateStateMethod · 0.95

Tested by

no test coverage detected