vu
v-unicode
npm i v-unicode
vu

v-unicode

🛡 Vue directive to restrict an input by unicode values

by Nicolas del Valle

0.0.5 (see all)License:MITTypeScript:Not Found
npm i v-unicode
Readme

v-unicode

Codeship Status Coverage Status Codacy Badge bitHound Overall Score bitHound Dev Dependencies bitHound Code

Vue directive to restrict an input by unicode values. It allows the input to be used just with the defined unicodes.

Install

$ npm install --save v-unicode
$ yarn add v-unicode

Use

import Vue from 'vue'
import vUnicode from 'v-unicode'

Vue.use(vUnicode)
<template>
  <input type="text" v-unicode="{ from: 48, to: 57 }">
  <input type="text" v-unicode="[48, 49, 50, 51, 52, 53, 54, 55, 56, 57]">
</template>

License

MIT License

Style

Standard - JavaScript Style Guide

Downloads/wk

18

GitHub Stars

15

LAST COMMIT

4yrs ago

MAINTAINERS

1

CONTRIBUTORS

1

OPEN ISSUES

1

OPEN PRs

0
VersionTagPublished
0.0.5
latest
5yrs ago
No alternatives found
No tutorials found
Add a tutorial

Rate & Review

100
No reviews found
Be the first to rate