octicon-rss(16/)
You've already forked ionic-framework
mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-10 22:44:13 +08:00
refactor(navigation): async component loading (aka lazy loading)
async component loading (aka lazy loading)
This commit is contained in:
octicon-git-branch(16/)
octicon-tag(16/)
octicon-diff(16/tw-mr-1) 6 changed files with 204 additions and 140 deletions
@@ -1,6 +1,6 @@
|
||||
import { swipeShouldReset } from '../util/util';
|
||||
import { DomController } from '../platform/dom-controller';
|
||||
import { GestureController, GesturePriority, GESTURE_GO_BACK_SWIPE } from '../gestures/gesture-controller';
|
||||
import { GestureController, GESTURE_PRIORITY_GO_BACK_SWIPE, GESTURE_GO_BACK_SWIPE } from '../gestures/gesture-controller';
|
||||
import { NavControllerBase } from './nav-controller-base';
|
||||
import { Platform } from '../platform/platform';
|
||||
import { SlideData } from '../gestures/slide-gesture';
|
||||
@@ -26,7 +26,7 @@ export class SwipeBackGesture extends SlideEdgeGesture {
|
||||
domController: domCtrl,
|
||||
gesture: gestureCtlr.createGesture({
|
||||
name: GESTURE_GO_BACK_SWIPE,
|
||||
priority: GesturePriority.GoBackSwipe,
|
||||
priority: GESTURE_PRIORITY_GO_BACK_SWIPE,
|
||||
disableScroll: true
|
||||
})
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user