How to use the ionic-angular/navigation/view-controller.ViewController function in ionic-angular

To help you get started, we’ve selected a few ionic-angular examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ionic-team / ionic-site / docs / v2 / demos / src / alert / app.component.ngfactory.js View on Github external
_View_ApiDemoApp0.prototype.createInternal = function (rootSelector) {
        var parentRenderNode = this.renderer.createViewRoot(this.declarationAppElement.nativeElement);
        this._el_0 = this.renderer.createElement(parentRenderNode, 'ion-nav', null);
        this._appEl_0 = new import3.AppElement(0, null, this, this._el_0);
        var compView_0 = import29.viewFactory_Nav0(this.viewUtils, this.injector(0), this._appEl_0);
        this._Nav_0_4 = new import29.Wrapper_Nav(this.parentInjector.get(import18.ViewController, null), this.parentInjector.get(import30.NavControllerBase, null), this.parentInjector.get(import19.App), this.parentInjector.get(import16.Config), this.parentInjector.get(import22.Keyboard), new import17.ElementRef(this._el_0), this.parentInjector.get(import23.NgZone), this.renderer, this.parentInjector.get(import31.ComponentFactoryResolver), this.parentInjector.get(import32.GestureController), this.parentInjector.get(import33.TransitionController), this.parentInjector.get(import34.DeepLinker, null));
        this._appEl_0.initComponent(this._Nav_0_4.context, [], compView_0);
        compView_0.create(this._Nav_0_4.context, [], null);
        this.init([], [this._el_0], [], []);
        return null;
    };
    _View_ApiDemoApp0.prototype.injectorGetInternal = function (token, requestNodeIndex, notFoundResult) {
github ionic-team / ionic-site / docs / v2 / demos / src / chip / app.component.ngfactory.js View on Github external
_View_ApiDemoPage0.prototype.createInternal = function (rootSelector) {
        var parentRenderNode = this.renderer.createViewRoot(this.declarationAppElement.nativeElement);
        this._el_0 = this.renderer.createElement(parentRenderNode, 'ion-header', null);
        this._Header_0_3 = new import10.Wrapper_Header(this.parentInjector.get(import18.Config), new import19.ElementRef(this._el_0), this.renderer, this.parentInjector.get(import20.ViewController, null));
        this._text_1 = this.renderer.createText(this._el_0, '\n\n  ', null);
        this._el_2 = this.renderer.createElement(this._el_0, 'ion-toolbar', null);
        this.renderer.setElementAttribute(this._el_2, 'class', 'toolbar');
        this._appEl_2 = new import3.AppElement(2, 0, this, this._el_2);
        var compView_2 = import10.viewFactory_Toolbar0(this.viewUtils, this.injector(2), this._appEl_2);
        this._Toolbar_2_4 = new import10.Wrapper_Toolbar(this.parentInjector.get(import20.ViewController, null), this.parentInjector.get(import18.Config), new import19.ElementRef(this._el_2), this.renderer);
        this._appEl_2.initComponent(this._Toolbar_2_4.context, [], compView_2);
        this._text_3 = this.renderer.createText(null, '\n    ', null);
        this._el_4 = this.renderer.createElement(null, 'ion-title', null);
        this._appEl_4 = new import3.AppElement(4, 2, this, this._el_4);
        var compView_4 = import11.viewFactory_ToolbarTitle0(this.viewUtils, this.injector(4), this._appEl_4);
        this._ToolbarTitle_4_4 = new import11.Wrapper_ToolbarTitle(this.parentInjector.get(import18.Config), new import19.ElementRef(this._el_4), this.renderer, this._Toolbar_2_4.context, this.parentInjector.get(import21.Navbar, null));
        this._appEl_4.initComponent(this._ToolbarTitle_4_4.context, [], compView_4);
        this._text_5 = this.renderer.createText(null, 'Chips', null);
        compView_4.create(this._ToolbarTitle_4_4.context, [[].concat([this._text_5])], null);
        this._text_6 = this.renderer.createText(null, '\n  ', null);
        compView_2.create(this._Toolbar_2_4.context, [
            [],
            [],
            [],
            [].concat([
                this._text_3,
github ionic-team / ionic-site / docs / v2 / demos / src / modal / app.component.ngfactory.js View on Github external
[].concat([this._el_4]),
            [],
            [].concat([
                this._text_3,
                this._text_9,
                this._el_10,
                this._text_12
            ])
        ], null);
        this._text_13 = this.renderer.createText(this._el_0, '\n\n', null);
        this._text_14 = this.renderer.createText(parentRenderNode, '\n\n\n', null);
        this._el_15 = this.renderer.createElement(parentRenderNode, 'ion-content', null);
        this.renderer.setElementAttribute(this._el_15, 'padding', '');
        this._appEl_15 = new import3.AppElement(15, null, this, this._el_15);
        var compView_15 = import14.viewFactory_Content0(this.viewUtils, this.injector(15), this._appEl_15);
        this._Content_15_4 = new import14.Wrapper_Content(this.parentInjector.get(import25.Config), new import26.ElementRef(this._el_15), this.renderer, this.parentInjector.get(import28.App), this.parentInjector.get(import31.Keyboard), this.parentInjector.get(import32.NgZone), this.parentInjector.get(import27.ViewController, null), this.parentInjector.get(import33.Tabs, null));
        this._appEl_15.initComponent(this._Content_15_4.context, [], compView_15);
        this._text_16 = this.renderer.createText(null, '\n  ', null);
        this._el_17 = this.renderer.createElement(null, 'div', null);
        this._text_18 = this.renderer.createText(this._el_17, '\n    ', null);
        this._el_19 = this.renderer.createElement(this._el_17, 'h5', null);
        this._text_20 = this.renderer.createText(this._el_19, 'Parameters passed:', null);
        this._text_21 = this.renderer.createText(this._el_17, '\n\n    ', null);
        this._el_22 = this.renderer.createElement(this._el_17, 'pre', null);
        this.renderer.setElementAttribute(this._el_22, 'style', 'background-color: #f8f8f8');
        this._text_23 = this.renderer.createText(this._el_22, '', null);
        this._text_24 = this.renderer.createText(this._el_17, '\n\n  ', null);
        this._text_25 = this.renderer.createText(null, '\n  ', null);
        this._el_26 = this.renderer.createElement(null, 'div', null);
        this._text_27 = this.renderer.createText(this._el_26, '\n    ', null);
        this._el_28 = this.renderer.createElement(this._el_26, 'p', null);
        this._text_29 = this.renderer.createText(this._el_28, 'No parameters passed.', null);
github ionic-team / ionic-site / docs / v2 / demos / src / button / app.component.ngfactory.js View on Github external
[],
            [],
            [],
            [].concat([
                this._text_3,
                this._el_4,
                this._text_6
            ])
        ], null);
        this._text_7 = this.renderer.createText(this._el_0, '\n\n', null);
        this._text_8 = this.renderer.createText(parentRenderNode, '\n\n\n', null);
        this._el_9 = this.renderer.createElement(parentRenderNode, 'ion-content', null);
        this.renderer.setElementAttribute(this._el_9, 'text-center', '');
        this._appEl_9 = new import3.AppElement(9, null, this, this._el_9);
        var compView_9 = import13.viewFactory_Content0(this.viewUtils, this.injector(9), this._appEl_9);
        this._Content_9_4 = new import13.Wrapper_Content(this.parentInjector.get(import16.Config), new import17.ElementRef(this._el_9), this.renderer, this.parentInjector.get(import19.App), this.parentInjector.get(import22.Keyboard), this.parentInjector.get(import23.NgZone), this.parentInjector.get(import18.ViewController, null), this.parentInjector.get(import24.Tabs, null));
        this._appEl_9.initComponent(this._Content_9_4.context, [], compView_9);
        this._text_10 = this.renderer.createText(null, '\n\n  ', null);
        this._el_11 = this.renderer.createElement(null, 'h4', null);
        this._text_12 = this.renderer.createText(this._el_11, 'Colors', null);
        this._text_13 = this.renderer.createText(null, '\n\n  ', null);
        this._el_14 = this.renderer.createElement(null, 'button', null);
        this.renderer.setElementAttribute(this._el_14, 'ion-button', '');
        this._appEl_14 = new import3.AppElement(14, 9, this, this._el_14);
        var compView_14 = import14.viewFactory_Button0(this.viewUtils, this.injector(14), this._appEl_14);
        this._Button_14_4 = new import14.Wrapper_Button(null, '', this.parentInjector.get(import16.Config), new import17.ElementRef(this._el_14), this.renderer);
        this._appEl_14.initComponent(this._Button_14_4.context, [], compView_14);
        this._text_15 = this.renderer.createText(null, 'Default', null);
        compView_14.create(this._Button_14_4.context, [[].concat([this._text_15])], null);
        this._text_16 = this.renderer.createText(null, '\n\n  ', null);
        this._el_17 = this.renderer.createElement(null, 'button', null);
        this.renderer.setElementAttribute(this._el_17, 'color', 'secondary');
github ionic-team / ionic-site / docs / v2 / demos / src / nav-params / app.component.ngfactory.js View on Github external
_View_ApiDemoPage0.prototype.createInternal = function (rootSelector) {
        var parentRenderNode = this.renderer.createViewRoot(this.declarationAppElement.nativeElement);
        this._el_0 = this.renderer.createElement(parentRenderNode, 'ion-header', null);
        this._Header_0_3 = new import11.Wrapper_Header(this.parentInjector.get(import25.Config), new import26.ElementRef(this._el_0), this.renderer, this.parentInjector.get(import27.ViewController, null));
        this._text_1 = this.renderer.createText(this._el_0, '\n\n  ', null);
        this._el_2 = this.renderer.createElement(this._el_0, 'ion-navbar', null);
        this.renderer.setElementAttribute(this._el_2, 'class', 'toolbar');
        this._appEl_2 = new import3.AppElement(2, 0, this, this._el_2);
        var compView_2 = import12.viewFactory_Navbar0(this.viewUtils, this.injector(2), this._appEl_2);
        this._Navbar_2_4 = new import12.Wrapper_Navbar(this.parentInjector.get(import28.App), this.parentInjector.get(import27.ViewController, null), this.parentInjector.get(import8.NavController, null), this.parentInjector.get(import25.Config), new import26.ElementRef(this._el_2), this.renderer);
        this._appEl_2.initComponent(this._Navbar_2_4.context, [], compView_2);
        this._text_3 = this.renderer.createText(null, '\n    ', null);
        this._el_4 = this.renderer.createElement(null, 'ion-title', null);
        this._appEl_4 = new import3.AppElement(4, 2, this, this._el_4);
        var compView_4 = import13.viewFactory_ToolbarTitle0(this.viewUtils, this.injector(4), this._appEl_4);
        this._ToolbarTitle_4_4 = new import13.Wrapper_ToolbarTitle(this.parentInjector.get(import25.Config), new import26.ElementRef(this._el_4), this.renderer, this.parentInjector.get(import29.Toolbar, null), this._Navbar_2_4.context);
        this._appEl_4.initComponent(this._ToolbarTitle_4_4.context, [], compView_4);
        this._text_5 = this.renderer.createText(null, 'Nav Params', null);
        compView_4.create(this._ToolbarTitle_4_4.context, [[].concat([this._text_5])], null);
        this._text_6 = this.renderer.createText(null, '\n  ', null);
        compView_2.create(this._Navbar_2_4.context, [
            [],
            [],
            [],
            [].concat([
                this._text_3,
github ionic-team / ionic-site / docs / v2 / demos / src / config / app.component.ngfactory.js View on Github external
_View_PushPage0.prototype.createInternal = function (rootSelector) {
        var parentRenderNode = this.renderer.createViewRoot(this.declarationAppElement.nativeElement);
        this._el_0 = this.renderer.createElement(parentRenderNode, 'ion-header', null);
        this._Header_0_3 = new import26.Wrapper_Header(this.parentInjector.get(import15.Config), new import16.ElementRef(this._el_0), this.renderer, this.parentInjector.get(import13.ViewController, null));
        this._text_1 = this.renderer.createText(this._el_0, '\n  ', null);
        this._el_2 = this.renderer.createElement(this._el_0, 'ion-navbar', null);
        this.renderer.setElementAttribute(this._el_2, 'class', 'toolbar');
        this._appEl_2 = new import3.AppElement(2, 0, this, this._el_2);
        var compView_2 = import27.viewFactory_Navbar0(this.viewUtils, this.injector(2), this._appEl_2);
        this._Navbar_2_4 = new import27.Wrapper_Navbar(this.parentInjector.get(import14.App), this.parentInjector.get(import13.ViewController, null), this.parentInjector.get(import12.NavController, null), this.parentInjector.get(import15.Config), new import16.ElementRef(this._el_2), this.renderer);
        this._appEl_2.initComponent(this._Navbar_2_4.context, [], compView_2);
        this._text_3 = this.renderer.createText(null, '\n    ', null);
        this._el_4 = this.renderer.createElement(null, 'ion-title', null);
        this._appEl_4 = new import3.AppElement(4, 2, this, this._el_4);
        var compView_4 = import28.viewFactory_ToolbarTitle0(this.viewUtils, this.injector(4), this._appEl_4);
        this._ToolbarTitle_4_4 = new import28.Wrapper_ToolbarTitle(this.parentInjector.get(import15.Config), new import16.ElementRef(this._el_4), this.renderer, this.parentInjector.get(import39.Toolbar, null), this._Navbar_2_4.context);
        this._appEl_4.initComponent(this._ToolbarTitle_4_4.context, [], compView_4);
        this._text_5 = this.renderer.createText(null, 'Page', null);
        compView_4.create(this._ToolbarTitle_4_4.context, [[].concat([this._text_5])], null);
        this._text_6 = this.renderer.createText(null, '\n  ', null);
github ionic-team / ionic-site / docs / v2 / demos / src / item-reorder / app.component.ngfactory.js View on Github external
[],
            [].concat([this._el_7]),
            [].concat([
                this._text_3,
                this._el_4,
                this._text_6,
                this._text_12
            ])
        ], null);
        this._text_13 = this.renderer.createText(this._el_0, '\n\n', null);
        this._text_14 = this.renderer.createText(parentRenderNode, '\n\n\n', null);
        this._el_15 = this.renderer.createElement(parentRenderNode, 'ion-content', null);
        this.renderer.setElementAttribute(this._el_15, 'fullscreen', '');
        this._appEl_15 = new import3.AppElement(15, null, this, this._el_15);
        var compView_15 = import17.viewFactory_Content0(this.viewUtils, this.injector(15), this._appEl_15);
        this._Content_15_4 = new import17.Wrapper_Content(this.parentInjector.get(import23.Config), new import24.ElementRef(this._el_15), this.renderer, this.parentInjector.get(import26.App), this.parentInjector.get(import28.Keyboard), this.parentInjector.get(import29.NgZone), this.parentInjector.get(import25.ViewController, null), this.parentInjector.get(import30.Tabs, null));
        this._appEl_15.initComponent(this._Content_15_4.context, [], compView_15);
        this._text_16 = this.renderer.createText(null, '\n\n  ', null);
        this._el_17 = this.renderer.createElement(null, 'ion-list', null);
        this.renderer.setElementAttribute(this._el_17, 'class', 'chat-sliding-demo');
        this._List_17_3 = new import18.Wrapper_List(this.parentInjector.get(import23.Config), new import24.ElementRef(this._el_17), this.renderer, this.parentInjector.get(import31.GestureController));
        this._text_18 = this.renderer.createText(this._el_17, '\n    ', null);
        this._el_19 = this.renderer.createElement(this._el_17, 'ion-list-header', null);
        this.renderer.setElementAttribute(this._el_19, 'class', 'item');
        this._appEl_19 = new import3.AppElement(19, 17, this, this._el_19);
        var compView_19 = import19.viewFactory_Item0(this.viewUtils, this.injector(19), this._appEl_19);
        this._Item_19_4 = new import19.Wrapper_Item(this.parentInjector.get(import32.Form), this.parentInjector.get(import23.Config), new import24.ElementRef(this._el_19), this.renderer);
        this._ListHeader_19_5 = new import20.Wrapper_ListHeader(this.parentInjector.get(import23.Config), this.renderer, new import24.ElementRef(this._el_19), null);
        this._query_Label_19_0 = new import15.QueryList();
        this._query_Button_19_1 = new import15.QueryList();
        this._query_Icon_19_2 = new import15.QueryList();
        this._appEl_19.initComponent(this._Item_19_4.context, [], compView_19);
github ionic-team / ionic-site / docs / v2 / demos / src / tabs / app.component.ngfactory.js View on Github external
compView_2.create(this._Navbar_2_4.context, [
            [],
            [],
            [],
            [].concat([
                this._text_3,
                this._el_4,
                this._text_6
            ])
        ], null);
        this._text_7 = this.renderer.createText(this._el_0, '\n\n', null);
        this._text_8 = this.renderer.createText(parentRenderNode, '\n\n\n', null);
        this._el_9 = this.renderer.createElement(parentRenderNode, 'ion-content', null);
        this._appEl_9 = new import3.AppElement(9, null, this, this._el_9);
        var compView_9 = import13.viewFactory_Content0(this.viewUtils, this.injector(9), this._appEl_9);
        this._Content_9_4 = new import13.Wrapper_Content(this.parentInjector.get(import16.Config), new import17.ElementRef(this._el_9), this.renderer, this.parentInjector.get(import19.App), this.parentInjector.get(import22.Keyboard), this.parentInjector.get(import23.NgZone), this.parentInjector.get(import18.ViewController, null), this.parentInjector.get(import24.Tabs, null));
        this._appEl_9.initComponent(this._Content_9_4.context, [], compView_9);
        this._text_10 = this.renderer.createText(null, '\n  ', null);
        this._text_11 = this.renderer.createText(null, '\n  ', null);
        this._el_12 = this.renderer.createElement(null, 'ion-tabs', null);
        this._appEl_12 = new import3.AppElement(12, 9, this, this._el_12);
        var compView_12 = import14.viewFactory_Tabs0(this.viewUtils, this.injector(12), this._appEl_12);
        this._Tabs_12_4 = new import14.Wrapper_Tabs(this.parentInjector.get(import20.NavController, null), this.parentInjector.get(import18.ViewController, null), this.parentInjector.get(import19.App), this.parentInjector.get(import16.Config), new import17.ElementRef(this._el_12), this.parentInjector.get(import25.Platform), this.renderer, this.parentInjector.get(import26.DeepLinker));
        this._appEl_12.initComponent(this._Tabs_12_4.context, [], compView_12);
        this._text_13 = this.renderer.createText(null, '\n    ', null);
        this._el_14 = this.renderer.createElement(null, 'ion-tab', null);
        this.renderer.setElementAttribute(this._el_14, 'role', 'tabpanel');
        this.renderer.setElementAttribute(this._el_14, 'tabTitle', 'Recents');
        this._appEl_14 = new import3.AppElement(14, 12, this, this._el_14);
        var compView_14 = import15.viewFactory_Tab0(this.viewUtils, this.injector(14), this._appEl_14);
        this._Tab_14_4 = new import15.Wrapper_Tab(this._Tabs_12_4.context, this.parentInjector.get(import19.App), this.parentInjector.get(import16.Config), this.parentInjector.get(import22.Keyboard), new import17.ElementRef(this._el_14), this.parentInjector.get(import23.NgZone), this.renderer, this.parentInjector.get(import27.ComponentFactoryResolver), compView_14.ref, this.parentInjector.get(import28.GestureController), this.parentInjector.get(import29.TransitionController), this.parentInjector.get(import26.DeepLinker, null));
        this._appEl_14.initComponent(this._Tab_14_4.context, [], compView_14);
github ionic-team / ionic-site / docs / v2 / demos / src / icon / app.component.ngfactory.js View on Github external
[],
            [],
            [].concat([
                this._text_3,
                this._el_4,
                this._text_6
            ])
        ], null);
        this._text_7 = this.renderer.createText(this._el_0, '\n\n', null);
        this._text_8 = this.renderer.createText(parentRenderNode, '\n\n\n', null);
        this._el_9 = this.renderer.createElement(parentRenderNode, 'ion-content', null);
        this.renderer.setElementAttribute(this._el_9, 'class', 'icon-demo');
        this.renderer.setElementAttribute(this._el_9, 'text-center', '');
        this._appEl_9 = new import3.AppElement(9, null, this, this._el_9);
        var compView_9 = import13.viewFactory_Content0(this.viewUtils, this.injector(9), this._appEl_9);
        this._Content_9_4 = new import13.Wrapper_Content(this.parentInjector.get(import16.Config), new import17.ElementRef(this._el_9), this.renderer, this.parentInjector.get(import19.App), this.parentInjector.get(import22.Keyboard), this.parentInjector.get(import23.NgZone), this.parentInjector.get(import18.ViewController, null), this.parentInjector.get(import24.Tabs, null));
        this._appEl_9.initComponent(this._Content_9_4.context, [], compView_9);
        this._text_10 = this.renderer.createText(null, '\n\n  ', null);
        this._el_11 = this.renderer.createElement(null, 'ion-row', null);
        this._Row_11_3 = new import14.Wrapper_Row();
        this._text_12 = this.renderer.createText(this._el_11, '\n    ', null);
        this._el_13 = this.renderer.createElement(this._el_11, 'ion-col', null);
        this._Col_13_3 = new import14.Wrapper_Col();
        this._el_14 = this.renderer.createElement(this._el_13, 'ion-icon', null);
        this.renderer.setElementAttribute(this._el_14, 'color', 'primary');
        this.renderer.setElementAttribute(this._el_14, 'name', 'ionic');
        this.renderer.setElementAttribute(this._el_14, 'role', 'img');
        this._Icon_14_3 = new import15.Wrapper_Icon(this.parentInjector.get(import16.Config), new import17.ElementRef(this._el_14), this.renderer);
        this._text_15 = this.renderer.createText(this._el_11, '\n    ', null);
        this._el_16 = this.renderer.createElement(this._el_11, 'ion-col', null);
        this._Col_16_3 = new import14.Wrapper_Col();
        this._el_17 = this.renderer.createElement(this._el_16, 'ion-icon', null);