@swiftwc/ui 0.0.0-dev.15 → 0.0.0-dev.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -42,7 +42,7 @@ export class NavigationView extends HTMLElement {
|
|
|
42
42
|
break;
|
|
43
43
|
if (!this.closest('tab-view'))
|
|
44
44
|
break; // tabview stuff
|
|
45
|
-
let eventType = this.hasAttribute(name) ? '
|
|
45
|
+
let eventType = this.hasAttribute(name) ? 'tabhide' : 'tabshow', target = LifecycleObserver;
|
|
46
46
|
// isRecent by 100ms window
|
|
47
47
|
if (this.#recentBefore && performance.now() - this.#recentBefore.time <= 100) {
|
|
48
48
|
if (this.#recentBefore.type === 'beforetabreveal') {
|