@nativescript-community/ui-material-bottom-navigation
Version:
Material Design Bottom Navigation bars allow movement between primary destinations in an app. Tapping on a bottom navigation icon takes you directly to the associated view or refreshes the currently active view.
38 lines (34 loc) • 2.29 kB
JavaScript
import * as i0 from '@angular/core';
import { Directive, NgModule } from '@angular/core';
import { registerElement } from '@nativescript/angular';
import { BottomNavigation, TabStrip, TabStripItem, TabContentItem } from '@nativescript-community/ui-material-bottom-navigation';
class MaterialBottomNavigationDirective {
static ɵfac = function MaterialBottomNavigationDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MaterialBottomNavigationDirective)(); };
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: MaterialBottomNavigationDirective, selectors: [["MDBottomNavigation"]] });
}
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MaterialBottomNavigationDirective, [{
type: Directive,
args: [{ selector: 'MDBottomNavigation' }]
}], null, null); })();
class NativeScriptMaterialBottomNavigationModule {
static ɵfac = function NativeScriptMaterialBottomNavigationModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NativeScriptMaterialBottomNavigationModule)(); };
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: NativeScriptMaterialBottomNavigationModule });
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({});
}
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NativeScriptMaterialBottomNavigationModule, [{
type: NgModule,
args: [{
declarations: [MaterialBottomNavigationDirective],
exports: [MaterialBottomNavigationDirective]
}]
}], null, null); })();
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(NativeScriptMaterialBottomNavigationModule, { declarations: [MaterialBottomNavigationDirective], exports: [MaterialBottomNavigationDirective] }); })();
registerElement('MDBottomNavigation', () => BottomNavigation);
registerElement('MDTabStrip', () => TabStrip);
registerElement('MDTabStripItem', () => TabStripItem);
registerElement('MDTabContentItem', () => TabContentItem);
/**
* Generated bundle index. Do not edit.
*/
export { MaterialBottomNavigationDirective, NativeScriptMaterialBottomNavigationModule };
//# sourceMappingURL=nativescript-community-ui-material-bottom-navigation-angular.mjs.map