🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

v-reset-input

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

v-reset-input

Reset input directive for Vue.js

latest
Source
npmnpm
Version
1.1.2
Version published
Maintainers
1
Created
Source

v-reset-input

Reset input directive for Vue.js

Installation

Using yarn

yarn add v-reset-input

Using npm

npm i --save v-reset-input

Demo

DEMO

Usage

Bundler (Webpack, Rollup)

import Vue from 'vue'

import ResetInput from 'v-reset-input'

Vue.use(ResetInput)

Browser

<!-- Include after Vue -->
<script src="v-reset-input/dist/v-reset-input.js"></script>
<script>
  Vue.use(ResetInput)
</script>

Example

<template>
  <input type="text" v-reset-input=''>
</template>

What about appearence?

Just overwrite their css class

.v-reset-input
  top 8px
  right 25px
  font-size 1.5em
  display none
  &.v-reset-input-active
    display block

Author

License

This project is licensed under MIT License

Keywords

vue

FAQs

Package last updated on 11 May 2017

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