# Navigation
# Usage
// Global installation
import NavigationInstaller from "vue-elder-navigation";
//...
Vue.use(NavigationInstaller);
// Local installation
import { NavigationComponent, setup } from "vue-elder-navigation";
//...
components: {
NavigationComponent;
}
# Slots
- default
- before
# Props
- logo
String | Object
- animate
Boolean
- height
Number
- padding
String
- title
String
- breakAt
Number
- action
Object, String, Function
- items
Array
# Example
<navigation-component
:logo="{ src: 'https://elder.no/wp-content/uploads/sites/14/2019/10/logo-e1574108269330.png', height: 40}"
:items="[{ label: 'Home', action: '#' }, { label: 'About', action: '#' }]"
></navigation-component>