1.0.2 • Published 1 year ago

vue-global-input-auto-trim v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

vue-global-input-auto-trim

Description

A plug-in used in the vue2 project to realize the automatic trim of the global input box

Software Architecture

Support input and textarea tags of native and UI frameworks

Installation

npm install vue-global-input-auto-trim -S

Instructions

//Referenced in global main.js
import Vue from 'vue'
import trim from 'vue-global-input-auto-trim'
Vue. use(trim)

Tip:If you only need to automatically trim some input boxes, you can use the directive of 'vue-input-auto-trim' plugin