{"id":16236178,"url":"https://github.com/bidoubiwa/vuepress-plugin-element-tabs","last_synced_at":"2026-03-18T18:33:59.492Z","repository":{"id":39850067,"uuid":"495982351","full_name":"bidoubiwa/vuepress-plugin-element-tabs","owner":"bidoubiwa","description":"Vuepress plugin - Tabs Container for Vuepress","archived":false,"fork":false,"pushed_at":"2022-05-25T12:46:24.000Z","size":171,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-02T00:43:27.227Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"SCSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bidoubiwa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-05-24T20:44:05.000Z","updated_at":"2022-05-31T21:11:36.000Z","dependencies_parsed_at":"2022-08-30T03:41:33.037Z","dependency_job_id":null,"html_url":"https://github.com/bidoubiwa/vuepress-plugin-element-tabs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bidoubiwa/vuepress-plugin-element-tabs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bidoubiwa%2Fvuepress-plugin-element-tabs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bidoubiwa%2Fvuepress-plugin-element-tabs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bidoubiwa%2Fvuepress-plugin-element-tabs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bidoubiwa%2Fvuepress-plugin-element-tabs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bidoubiwa","download_url":"https://codeload.github.com/bidoubiwa/vuepress-plugin-element-tabs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bidoubiwa%2Fvuepress-plugin-element-tabs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29329492,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T06:13:03.264Z","status":"ssl_error","status_checked_at":"2026-02-11T06:12:55.843Z","response_time":97,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-10T13:29:31.588Z","updated_at":"2026-02-11T07:03:49.431Z","avatar_url":"https://github.com/bidoubiwa.png","language":"SCSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [vuepress-plugin-element-tabs](https://superbiger.github.io/vuepress-plugin-tabs/)\n\n\u003ca href=\"https://www.npmjs.com/package/vuepress-plugin-element-tabs\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/vuepress-plugin-element-tabs.svg\" alt=\"Version\"\u003e\u003c/a\u003e\n\u003ca href=\"https://www.npmjs.com/package/vuepress-plugin-element-tabs\"\u003e\u003cimg src=\"https://img.shields.io/npm/l/vuepress-plugin-element-tabs.svg\" alt=\"License\"\u003e\u003c/a\u003e\n\u003cimg src=\"https://img.shields.io/badge/thanks-element-brightgreen.svg\"/\u003e\n\nVuepress plugin - markdown custom container to display content in tabs from [Element UI](https://github.com/ElemeFE/element)\n\n⚠️ This is a fork of kaifun [vuepress-plugin-tabs](https://github.com/Kaifun/vuepress-plugin-tabs), unfortunately it is not maintained anymore. All credits goes to him for this wonderful plugin.\n\n## Docs\n\u003e https://superbiger.github.io/vuepress-plugin-tabs\n\n## Install\n\u003e This plugin requires VuePress \u003e= 1.0.0\n\n```shell\nyarn add @bidoubiwa/vuepress-plugin-element-tabs -D\n```\n\n```javascript\n// .vuepress/config.js\nmodule.exports = {\n  plugins: [\n    '@bidoubiwa/vuepress-plugin-element-tabs'\n  ]\n}\n```\n\n## Usage\n\n~~~ md\n:::: tabs\n\n::: tab title\n__markdown content__\n:::\n\n\n::: tab javascript\n``` javascript\n() =\u003e {\n  console.log('Javascript code example')\n}\n```\n:::\n\n::::\n\n~~~\n\n## Documents\n\u003e Accepted Value Like That\n~~~md\n:::: tabs type:board-card\n::: tab title lazy\n__markdown content__\n:::\n::::\n~~~\n\n### Tabs Attributes\n|Attribute|Description|Type|Accepted Values|Default|\n|:--|:--|:--|:--|:--|\n|type|type of Tab|String|card/border-card|border-card|\n|tab-position|position of tabs|String|top/right/bottom/left|top|\n|stretch|whether width of tab automatically fits its container|Boolean|-|false|\n\n\n### Tab Attributes\n|Attribute|Description|Type|Accepted Values|Default|\n|:--|:--|:--|:--|:--|\n|label|title of the tab|String|-|-|\n|lazy|whether Tab is lazily rendered|Boolean|-|false|\n\n### Q\u0026A\n* How to get mouse position with canvas ?\n```javascript\n\nvar canvas = document.getElementById('screen');\nvar mouse = getMouse(canvas);\n\nfunction addEvent(obj, type, handle) {\n  try {\n    obj.addEventListener(type, handle, false);\n  } catch (e) {\n    try {\n      obj.attachEvent(\"on\" + type, handle);\n    } catch (e) {\n      obj[\"on\" + type] = handle;\n    }\n  }\n}\n\nfunction getMouse(element) {\n  var mouse = { x: 0, y: 0 };\n\n  addEvent(element, \"mousemove\", function(e) {\n    var x, y;\n    var e = e || window.event;\n    const box = element.getBoundingClientRect();\n    x = e.clientX - box.x;\n    y = e.clientY - box.y;\n    mouse.x = x;\n    mouse.y = y;\n  });\n\n  return mouse;\n}\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbidoubiwa%2Fvuepress-plugin-element-tabs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbidoubiwa%2Fvuepress-plugin-element-tabs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbidoubiwa%2Fvuepress-plugin-element-tabs/lists"}