🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

vue-navigation-tab

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-navigation-tab

### NPM ``` npm i vue-navigation-tab ```

0.1.3
latest
npm
Version published
Weekly downloads
4
-20%
Maintainers
1
Weekly downloads
 
Created
Source

navigation-boundless-tab

NPM

npm i vue-navigation-tab

ES6

import NavigationTransitionTab from 'vue-navigation-tab';

Usage

<template>
  <NavigatioTab ref="navTab" :fixed="tabs" v-model:current="current" @on-change="navChange"></NavigatioTab>
</template>
<script>
import NavigatioTab from 'vue-navigation-tab';
export default {
  name: 'App',
  components: {
    NavigatioTab,
  },
  data() {
    return {
      tabs: [{ path: '/', title: 'HomePage', fixed: true }],
      current: 0,
    };
  },
  methods: {
    navChange(e) {
      console.log('currentTab', e);
    },
  },
};
</script>

Props

PropsTypeDefaultDescribe
fixedsArray[]
currentNumber0

Events

NameDescribeReturn
on-changeTabChangecurrentTab
on-removeTabRemovecurrentTab

methods

NameDescribeReturn
addTabAddNewTabcurrentTab

Keywords

vue3

FAQs

Package last updated on 27 Dec 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts