@thisway/next
Advanced tools
Comparing version 0.15.1 to 0.15.2
@@ -984,2 +984,3 @@ var __defProp = Object.defineProperty; | ||
__publicField(this, "container"); | ||
__publicField(this, "instance"); | ||
__publicField(this, "onPrev", () => { | ||
@@ -1042,3 +1043,3 @@ this.goPrevStep(); | ||
this.subscriptions = subscriptions; | ||
mount(Thisway_view, { | ||
this.instance = mount(Thisway_view, { | ||
target: this.container, | ||
@@ -1076,3 +1077,5 @@ context: contexts, | ||
runAll(this.subscriptions); | ||
unmount(this.container); | ||
if (this.instance) { | ||
unmount(this.instance); | ||
} | ||
} | ||
@@ -1079,0 +1082,0 @@ } |
@@ -11,2 +11,3 @@ import { IStepsStore, ITourDelegate, Step, TourAction, TourOptions } from '@thisway/base'; | ||
protected readonly container: HTMLElement; | ||
protected instance: Record<string, any> | undefined; | ||
constructor(stepsStore: IStepsStore<T>, delegate: ITourDelegate<T>, initialContexts: ITourContexts, options$: Readable<TourOptions>); | ||
@@ -13,0 +14,0 @@ readonly onPrev: () => void; |
{ | ||
"name": "@thisway/next", | ||
"version": "0.15.1", | ||
"version": "0.15.2", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "sideEffects": false, |
Sorry, the diff of this file is not supported yet
140292
3727