()
| 258 | } |
| 259 | |
| 260 | async componentDidLoad() { |
| 261 | this.didLoad = true; |
| 262 | |
| 263 | /** |
| 264 | * A menu inside of a split pane is assumed |
| 265 | * to be a side pane. |
| 266 | * |
| 267 | * When the menu is loaded it needs to |
| 268 | * see if it should be considered visible inside |
| 269 | * of the split pane. If the split pane is |
| 270 | * hidden then the menu should be too. |
| 271 | */ |
| 272 | const splitPane = this.el.closest('ion-split-pane'); |
| 273 | if (splitPane !== null) { |
| 274 | this.isPaneVisible = await splitPane.isVisible(); |
| 275 | } |
| 276 | |
| 277 | this.menuChanged(); |
| 278 | this.updateState(); |
| 279 | } |
| 280 | |
| 281 | private menuChanged() { |
| 282 | /** |
nothing calls this directly
no test coverage detected