@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.
20 lines • 758 B
JavaScript
import { BottomNavigation, TabContentItem, TabStrip, TabStripItem } from '../';
let installed = false;
export default {
install(Vue) {
if (!installed) {
installed = true;
Vue.registerElement('MDBottomNavigation', () => BottomNavigation, {
model: {
prop: 'selectedIndex',
event: 'selectedIndexChange'
},
component: require('./component').default
});
Vue.registerElement('MDTabContentItem', () => TabContentItem, {});
Vue.registerElement('MDTabStripItem', () => TabStripItem, {});
Vue.registerElement('MDTabStrip', () => TabStrip, {});
}
}
};
//# sourceMappingURL=index.js.map