-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(loading): add internal stack for the loading service
this allows the user to push multiple loading indicators on top of each other without interfering with the page stack, as well as navigation between pages behind the loading indicator. references #5426
- Loading branch information
1 parent
f096cf6
commit d3fa29f
Showing
6 changed files
with
74 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import {Directive, ElementRef, Input, Optional, NgZone, Compiler, AppViewManager, Renderer, Type, ContentChild} from 'angular2/core'; | ||
|
||
import {IonicApp} from '../app/app'; | ||
import {Config} from '../../config/config'; | ||
import {Keyboard} from '../../util/keyboard'; | ||
import {NavController} from './nav-controller'; | ||
import {ViewController} from './view-controller'; | ||
|
||
/** | ||
* @private | ||
*/ | ||
@Directive({ | ||
selector: '[portal]' | ||
}) | ||
export class Portal extends NavController { | ||
constructor( | ||
@Optional() hostNavCtrl: NavController, | ||
@Optional() viewCtrl: ViewController, | ||
app: IonicApp, | ||
config: Config, | ||
keyboard: Keyboard, | ||
elementRef: ElementRef, | ||
compiler: Compiler, | ||
viewManager: AppViewManager, | ||
zone: NgZone, | ||
renderer: Renderer | ||
) { | ||
super(hostNavCtrl, app, config, keyboard, elementRef, null, compiler, viewManager, zone, renderer); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters