New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

v3-tabs

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

v3-tabs

### Installation

latest
npmnpm
Version
0.0.53
Version published
Maintainers
1
Created
Source

Vue3 Tabs

Installation

npm install v3-tabs

or pnpm

pnpm add v3-tabs

Usage

<template>
  <div class="content">
    <Tabs :list="arr" />
  </div>
</template>

<script setup>
import Tabs from 'v3-tabs'
import { ref } from 'vue'

const arr = [
  {
    name: 'a'
  },
  {
    name: 'b'
  },
  {
    name: 'c'
  }
]
</script>

<style>
.content {
  width: 680px;
  height: 100%;
}
</style>

API

Props

参数说明类型默认值
list渲染的 tabobject[]
active自定义高亮规则Function(index) => current.value === index

Events

参数说明类型默认值
handleClick点击 tab 事件回调function
close点击关闭按钮事件回调function

[Tabs 演示]

FAQs

Package last updated on 14 Aug 2025

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