()
| 191 | } |
| 192 | |
| 193 | onLoaded() { |
| 194 | if (!this.isLoaded) { |
| 195 | const hasTap = this.hasListeners('tap') || this.hasListeners('tapChange') || !!this.getGestureObservers(GestureTypes.tap); |
| 196 | const enableTapAnimations = TouchManager.enableGlobalTapAnimations && hasTap; |
| 197 | if (!this.ignoreTouchAnimation && (this.touchAnimation || enableTapAnimations)) { |
| 198 | TouchManager.addAnimations(this); |
| 199 | } |
| 200 | |
| 201 | if (__VISIONOS__) { |
| 202 | const enableHoverStyle = TouchManager.enableGlobalHoverWhereTap && hasTap; |
| 203 | if (!this.visionIgnoreHoverStyle && (this.visionHoverStyle || enableHoverStyle)) { |
| 204 | TouchManager.addHoverStyle(this); |
| 205 | } |
| 206 | } |
| 207 | } |
| 208 | super.onLoaded(); |
| 209 | |
| 210 | setupAccessibleView(this); |
| 211 | |
| 212 | if (this.statusBarStyle) { |
| 213 | // reapply status bar style on load |
| 214 | // helps back navigation cases to restore if overridden |
| 215 | this.updateStatusBarStyle(this.statusBarStyle); |
| 216 | } |
| 217 | } |
| 218 | |
| 219 | public _closeAllModalViewsInternal(): boolean { |
| 220 | if (_rootModalViews && _rootModalViews.length > 0) { |
nothing calls this directly
no test coverage detected