
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
vue-material-tabs
Advanced tools
Tab component based on material design, used to show content one at a time, it can also be used as a browser between pages.
yarn add vue-material-tabs // npm install --save vue-material-tabs
import Vue from "vue";
import VueMaterialTabs from "vue-material-tabs";
Vue.use(VueMaterialTabs);
import { Tabs, TabItem } from "vue-material-tabs";
export default {
components: {
Tabs,
TabItem,
},
};
<Tabs>
<TabItem name="Foo">
<div class="first-tab">First tab</div>
</TabItem>
<TabItem name="Bar">
<div class="second-tab">Second tab</div>
</TabItem>
</Tabs>
<Tabs>
<TabItem>
<template #name>
My custom title 🍉
</template>
<div class="first-tab">
First tab
</div>
</TabItem>
</Tabs>
<Tabs theme="cyan">....</Tabs>
You can create your own custom themes, with theme
prop.
<Tabs :theme="theme" >
....
</Tabs>
....
<script>
export default {
data: () => ({
theme: {
nav: "#4A148C",
navItem: "#BDBDBD",
navActiveItem: "#fff",
slider: "#CE93D8",
arrow: "#f3f3f3",
},
}),
};
</script>
Name | type | Default | description |
---|---|---|---|
value | String | undefined | The designated model value for the component. |
theme | String - Object | 'default' | Apply an available or customized theme. |
vertical | Boolean | false | Uses a vertical transition when changing windows. |
ripple | Boolean | true | Ripple tab nav effect. |
slideDuration | String - Number | 200 | Set slide duration in ms . |
slideVertical | Boolean | false | Vertical slide animation. |
slide | Boolean - Object | false | Enable/disable slide or set object with props. |
navAuto | Boolean | false | Organize tab nav items auto |
navSlider | Boolean | true | Nav bar slider. |
noTouch | Boolean | false | Swippe tab by touch. |
Name | Description | Props |
---|---|---|
nav | Slot to replace the nav menu. | { navItems: Array, active: String } |
Name | Description |
---|---|
input | Emitted when tab is changed. |
Name | type | Default | description |
---|---|---|---|
name | String | 'Tab Item' | Tab item title |
disabled | Boolean | false | Removes the ability to click or target the component. |
Name | Description |
---|---|
name | Custom tab nav name |
FAQs
Vue.js tabs component based in material design
The npm package vue-material-tabs receives a total of 716 weekly downloads. As such, vue-material-tabs popularity was classified as not popular.
We found that vue-material-tabs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.