Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

v-side-bar

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

v-side-bar

A Vue - based sidebar plug-in.

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

v-side-bar

这是一个基于Vue的侧边栏插件。

This is a Vue - based sidebar plug-in.

How to use

import SideBar from 'v-side-bar';
import Vue from 'vue';

Vue.use(SideBar);
// or
// Vue.use(SideBar,'component-name');
<!--  data(){ retuen {open:false} } -->
<template>
    <div>
        <button @touchend="open=true;">open</button>
        <v-side-bar :open.sync="open">
            <div style="width:200px;height:100px;background:white">
            </div>
        </v-side-bar>
    </div>
</template>

Keywords

vue

FAQs

Package last updated on 25 Dec 2019

Did you know?

Socket

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.

Install

Related posts