jy-wing-tabs
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

安装

npm i jy-wing-tabs --save

引入方式

import { JyWingTabs } from 'jy-wing-tabs'

功能说明

实现中间内容超出时,自动多左右两侧切换按钮,点击左右两侧按钮,可以移动中间内容。

使用示例

 <script setup lang="ts">
import {JyWingTabs} from "jy-wing-tabs";
</script>

<template>
  <div>
    首页
    <JyWingTabs>
      <div class="temp">
        我是中间内容asdsadasd adsadsadasdasdasdasdsaddasdsadsd
      </div>
    </JyWingTabs>
  </div>
</template>

<style scoped lang="less">
.temp {
  height: 80px;
  width: 1000px;
  background-color: red;
}
</style>

Readme

Keywords

none

Package Sidebar

Install

npm i jy-wing-tabs

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

11.3 kB

Total Files

6

Last publish

Collaborators

  • cxqdfe