@nativescript-community/ui-material-bottomnavigationbar
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.
50 lines (45 loc) • 2.9 kB
JavaScript
import * as i0 from '@angular/core';
import { Directive, NgModule } from '@angular/core';
import { registerElement } from '@nativescript/angular';
import { BottomNavigationBar, BottomNavigationTab } from '@nativescript-community/ui-material-bottomnavigationbar';
class BottomNavigationBarDirective {
static ɵfac = function BottomNavigationBarDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || BottomNavigationBarDirective)(); };
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: BottomNavigationBarDirective, selectors: [["BottomNavigationBar"]] });
}
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BottomNavigationBarDirective, [{
type: Directive,
args: [{
selector: 'BottomNavigationBar'
}]
}], null, null); })();
class BottomNavigationTabDirective {
static ɵfac = function BottomNavigationTabDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || BottomNavigationTabDirective)(); };
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: BottomNavigationTabDirective, selectors: [["BottomNavigationTab"]] });
}
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BottomNavigationTabDirective, [{
type: Directive,
args: [{
selector: 'BottomNavigationTab'
}]
}], null, null); })();
const DIRECTIVES = [BottomNavigationBarDirective, BottomNavigationTabDirective];
class NativeScriptMaterialBottomNavigationBarModule {
static ɵfac = function NativeScriptMaterialBottomNavigationBarModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NativeScriptMaterialBottomNavigationBarModule)(); };
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: NativeScriptMaterialBottomNavigationBarModule });
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({});
}
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NativeScriptMaterialBottomNavigationBarModule, [{
type: NgModule,
args: [{
declarations: [DIRECTIVES],
exports: [DIRECTIVES],
}]
}], null, null); })();
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(NativeScriptMaterialBottomNavigationBarModule, { declarations: [BottomNavigationBarDirective, BottomNavigationTabDirective], exports: [BottomNavigationBarDirective, BottomNavigationTabDirective] }); })();
registerElement('BottomNavigationBar', () => BottomNavigationBar);
registerElement('BottomNavigationTab', () => BottomNavigationTab);
/**
* Generated bundle index. Do not edit.
*/
export { BottomNavigationBarDirective, BottomNavigationTabDirective, NativeScriptMaterialBottomNavigationBarModule };
//# sourceMappingURL=nativescript-community-ui-material-bottomnavigationbar-angular.mjs.map