@player-ui/async-node-plugin 0.8.1--canary.471.16571 → 0.8.1--canary.471.16612
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.
|
@@ -6625,15 +6625,11 @@ var AsyncNodePlugin = function() {
|
|
|
6625
6625
|
options.flowController.hooks.flow.tap("viewController", function(flow) {
|
|
6626
6626
|
flow.hooks.transition.tap("viewController", function(_oldState, newState) {
|
|
6627
6627
|
if (newState.value.state_type === "VIEW") {
|
|
6628
|
-
_this.setViewsTransition(true);
|
|
6629
6628
|
_this.onView(newState.value);
|
|
6630
6629
|
} else {
|
|
6631
6630
|
_this.currentView = void 0;
|
|
6632
6631
|
}
|
|
6633
6632
|
});
|
|
6634
|
-
flow.hooks.afterTransition.tap("view", function(flowInstance) {
|
|
6635
|
-
_this.setViewsTransition(false);
|
|
6636
|
-
});
|
|
6637
6633
|
});
|
|
6638
6634
|
var update = function(updates) {
|
|
6639
6635
|
var silent = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : false;
|
|
@@ -6728,6 +6724,7 @@ var AsyncNodePlugin = function() {
|
|
|
6728
6724
|
this.previousView = this.currentView;
|
|
6729
6725
|
var view = new ViewInstance(source, this.viewOptions);
|
|
6730
6726
|
this.currentView = view;
|
|
6727
|
+
this.setViewsTransition(true);
|
|
6731
6728
|
this.hooks.view.call(view);
|
|
6732
6729
|
view.update(void 0, true);
|
|
6733
6730
|
}
|