All Projects → Kaifun → vuepress-plugin-tabs

Kaifun / vuepress-plugin-tabs

Licence: other
Vuepress plugin - Tabs Container for Vuepress

Programming Languages

CSS
56736 projects
Vue
7211 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to vuepress-plugin-tabs

alfred-tabs
🔍 Find Chrome/Safari tabs you want easily
Stars: ✭ 13 (-60.61%)
Mutual labels:  tabs
Mtgdb
Mtgdb.Gui - desktop app to search MTG cards and build decks
Stars: ✭ 46 (+39.39%)
Mutual labels:  tabs
a11y-accordion-tabs
A script for an accessible accordion tabs component
Stars: ✭ 50 (+51.52%)
Mutual labels:  tabs
Material-Design-Resume
A simple resume template with a material design touche , testing the Google style CSS ( indigo-green ).
Stars: ✭ 18 (-45.45%)
Mutual labels:  tabs
vuepress-plugin-demo-code
📝 Demo and code plugin for vuepress
Stars: ✭ 119 (+260.61%)
Mutual labels:  vuepress-plugin
guitar-tabs-to-MIDI
A program that converts Guitar Tabs into MIDI files.
Stars: ✭ 38 (+15.15%)
Mutual labels:  tabs
vuepress-pass
VuePress authentication plugin
Stars: ✭ 13 (-60.61%)
Mutual labels:  vuepress-plugin
rc-dock
Dock Layout for React Component
Stars: ✭ 318 (+863.64%)
Mutual labels:  tabs
Tabs
Tabs component of React,designed for mobile.Support gestures and lots of tabs.
Stars: ✭ 29 (-12.12%)
Mutual labels:  tabs
joplin-note-tabs
Allows to open several notes at once in tabs and pin them.
Stars: ✭ 150 (+354.55%)
Mutual labels:  tabs
dockview
Zero dependency layout manager and builder with ReactJS support
Stars: ✭ 45 (+36.36%)
Mutual labels:  tabs
un-material-tab
(deprecated) Custom tab layout which can be used as a material TabLayout alternative and contains basic functionality which Google's TabLayout has.
Stars: ✭ 83 (+151.52%)
Mutual labels:  tabs
vue-slim-tabs
A slim tab component for Vue.js (1.3 kB minified)
Stars: ✭ 104 (+215.15%)
Mutual labels:  tabs
react-native-paper-tabs
Smooth and fast cross platform Material Design Tabs for React Native Paper
Stars: ✭ 112 (+239.39%)
Mutual labels:  tabs
Excited-Gem
An Extension to manage your tabs and other browser-related features.
Stars: ✭ 18 (-45.45%)
Mutual labels:  tabs
browser-tabs-lock
Using this package, you can synchronise your code logic across browser tabs.
Stars: ✭ 29 (-12.12%)
Mutual labels:  tabs
vanilla-js-tabs
Vanilla JavaScript tabs - tiny and simple.
Stars: ✭ 54 (+63.64%)
Mutual labels:  tabs
tabbis.js
Pure vanilla javascript tabs with nesting
Stars: ✭ 44 (+33.33%)
Mutual labels:  tabs
tabs
pure javascript tabs for ES6
Stars: ✭ 11 (-66.67%)
Mutual labels:  tabs
react-native-segment-controller
A react-native segment controller(Tab) for both ios and android.
Stars: ✭ 18 (-45.45%)
Mutual labels:  tabs

vuepress-plugin-element-tabs

Version License

Vuepress plugin - markdown custom container to display content in tabs from Element UI

Docs

https://superbiger.github.io/vuepress-plugin-tabs

Install

This plugin requires VuePress >= 1.0.0, for now you can try it via yarn add vuepress@next -D

yarn add vuepress-plugin-element-tabs -D
// .vuepress/config.js
module.exports = {
  plugins: [
    'vuepress-plugin-element-tabs'
  ]
}

Usage

:::: tabs

::: tab title
__markdown content__
:::


::: tab javascript
``` javascript
() => {
  console.log('Javascript code example')
}
```
:::

::::

Documents

Accepted Value Like That

:::: tabs type:board-card
::: tab title lazy
__markdown content__
:::
::::

Tabs Attributes

Attribute Description Type Accepted Values Default
type type of Tab String card/border-card border-card
tab-position position of tabs String top/right/bottom/left top
stretch whether width of tab automatically fits its container Boolean - false

Tab Attributes

Attribute Description Type Accepted Values Default
label title of the tab String - -
lazy whether Tab is lazily rendered Boolean - false

Q&A

  • How to get mouse position with canvas ?
var canvas = document.getElementById('screen');
var mouse = getMouse(canvas);

function addEvent(obj, type, handle) {
  try {
    obj.addEventListener(type, handle, false);
  } catch (e) {
    try {
      obj.attachEvent("on" + type, handle);
    } catch (e) {
      obj["on" + type] = handle;
    }
  }
}

function getMouse(element) {
  var mouse = { x: 0, y: 0 };

  addEvent(element, "mousemove", function(e) {
    var x, y;
    var e = e || window.event;
    const box = element.getBoundingClientRect();
    x = e.clientX - box.x;
    y = e.clientY - box.y;
    mouse.x = x;
    mouse.y = y;
  });

  return mouse;
}
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].