All Projects → piccard21 → vue-magic-line

piccard21 / vue-magic-line

Licence: MIT license
A flexible tabs-component for Vue

Programming Languages

Vue
7211 projects
javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to vue-magic-line

v-switcher
An powerful display tabs with Vue
Stars: ✭ 56 (+40%)
Mutual labels:  tabs, vue-tabs
smart-webcomponents-community
Material & Bootstrap Web Components built with Smart
Stars: ✭ 30 (-25%)
Mutual labels:  tabs
Vue Tabs
Simplified bootstrap tabs
Stars: ✭ 241 (+502.5%)
Mutual labels:  tabs
Material-BottomBarLayout
🎉A material navigation bar library which has pretty animations and different ways of arrangement.
Stars: ✭ 56 (+40%)
Mutual labels:  tabs
ink-tab
Tab component for Ink 🌈
Stars: ✭ 87 (+117.5%)
Mutual labels:  tabs
Xaringanextra
🎡 A playground of enhancements and extensions for xaringan slides.
Stars: ✭ 240 (+500%)
Mutual labels:  tabs
React Ant
(基于pro 2.0)基于Ant Design Pro 的 (多标签页tabs、拖拽、富文本、拾色器、多功能table、多选Select)
Stars: ✭ 231 (+477.5%)
Mutual labels:  tabs
mdebug
基于React开发的新一代web调试工具,支持React组件调试,类似于Chrome Devtools。A Lightweight, Easy To Extend Web Debugging Tool Build With React
Stars: ✭ 237 (+492.5%)
Mutual labels:  tabs
cosyTabs
SIMBL plug-in for Safari. Now with macOS Sierra/Safari 10 support. Small tabs like they used to be back in the day.
Stars: ✭ 44 (+10%)
Mutual labels:  tabs
TubeLister
A handy Chrome extension to collect all your YouTube tabs into one!
Stars: ✭ 19 (-52.5%)
Mutual labels:  tabs
wui
Collection of GUI widgets for the web
Stars: ✭ 44 (+10%)
Mutual labels:  tabs
CliChords
[CliChords] Get ultimate-guitar.com guitar tabs and chords in your terminal - command line cli
Stars: ✭ 20 (-50%)
Mutual labels:  tabs
markdown-fenced-code-tabs
Generates tabs for consecutive markdown code blocks
Stars: ✭ 46 (+15%)
Mutual labels:  tabs
chords
A Kotlin multi-platform view library for displaying stringed instrument chord diagrams
Stars: ✭ 25 (-37.5%)
Mutual labels:  tabs
snoozz-tab-snoozing
A Web Extension to declutter windows by snoozing tabs for later
Stars: ✭ 105 (+162.5%)
Mutual labels:  tabs
Vue Router Tab
Vue.js tab components, based on Vue Router.
Stars: ✭ 236 (+490%)
Mutual labels:  tabs
react-native-segment-control
Swipeable SegmentedControl component for React Native apps
Stars: ✭ 21 (-47.5%)
Mutual labels:  tabs
react-responsive-tabs
React responsive tabs http://maslianok.github.io/react-responsive-tabs/
Stars: ✭ 118 (+195%)
Mutual labels:  tabs
guitar
🎸 Online guitar toy and tablature recorder/player
Stars: ✭ 80 (+100%)
Mutual labels:  tabs
ngx-tabset
A very simple library to let you create some tabs
Stars: ✭ 19 (-52.5%)
Mutual labels:  tabs

vue-magic-line

A tabs-component for Vue.

Demo

You can find some examples here

Configuration

Install component

Globally

import VueMagicLine from 'vue-magic-line'

Vue.use(VueMagicLine)

Locally

import {VueMagicLine, VueMagicLineTab} from 'vue-magic-line';

    export default {
      components: {
        VueMagicLine,
        VueMagicLineTab
      },
      ...

Template

<vue-magic-line>
  <vue-magic-line-tab name="First tab" >
      This is the content of the first vue-magic-line-tab
  </vue-magic-line-tab>
  <vue-magic-line-tab name="Second tab" active>
      <b>This is the content of the second vue-magic-line-tab</b>
  </vue-magic-line-tab>
  <vue-magic-line-tab name="Third tab" disabled>
      This is the content of the third vue-magic-line-tab
  </vue-magic-line-tab> 
  <vue-magic-line-tab name="Fourth tab">
      <i>This is the content of the fourth vue-magic-line-tab</i>
  </vue-magic-line-tab>
  <vue-magic-line-tab name="Fifth tab" disabled>
      This is the content of the fifth vue-magic-line-tab
  </vue-magic-line-tab>
  <vue-magic-line-tab name="Sixth tab">
      <p>This is the content of the sixth vue-magic-line-tab</p>
  </vue-magic-line-tab> 
</vue-magic-line> 

Properties

vue-magic-line

Property Description Value Default value
secondary show secondary line Boolean true
parent apply to parent and not to link Boolean true
magic-line-wrapper-css CSS for class magic-line-wrapper Object {}
magic-line-item-wrapper-css CSS for class magic-line-item-wrapper Object {}
magic-line-item-css CSS for class magic-line-item Object {}
magic-line-item-link-css CSS for class magic-line-item-link Object {}
magic-line-content-wrapper-css CSS for class magic-line-content-wrapper Object {}
primary-color color for primary line String rgb(0, 188, 212)
primary-height height for primary line Number 3px
primary-top add some margin to primary line Number 3px
secondary-color color for secondary line String rgba(211, 211, 211, 0.4)
secondary-height height for secondary line Number 2px
secondary-top add some margin to secondary line Number 3px
duration duration for magic-line transition in seconds Number 0.3

vue-magic-line-tab

Property Description Value Default value
active set active tab Boolean true
disabled disable tab Boolean false

Events

Event Description Parameters
before-set-primary before positioning primary line primary-line, tab
set-primary after positioning primary line primary-line, tab
before-set-secondary before positioning secondary line secondary-line, tab
set-secondary after positioning secondary line secondary-line, tab

License

vue-magic-line is licensed under the MIT License - see the LICENSE file for details.

Author

Andreas Stephan

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].