🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

vue-formulate-trim

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

vue-formulate-trim

## Project setup ``` npm install ```

0.1.0
latest
npm
Version published
Weekly downloads
5
150%
Maintainers
1
Weekly downloads
 
Created
Source

VueFormulate

Vue Formulate Trim

Vue Formulate Trim allows for better string input formatting.

Install


npm install vue-formulate-trim

Usage

Add to your vue formulate plugins.

Documentation


import Vue  from  'vue'

import VueFormulate  from  '@braid/vue-formulate'

import FormulateVueTrimPlugin  from  'vue-formulate-string'

Vue.use(VueFormulate, {
	plugins: [ FormulateVueTrimPlugin ]
})

For Nuxt.js ♥ add the plugin to your formulate.config.js file.

Documentation

Component Usage

Add the trim type to a formulate component


<FormulateInput type="trim"/>

Special Props : styling✨

The styling prop is optional and can be used to add in classes to your input. It accepts and array of classes or a string and will be combined with the formulate configuration classes set in your project.

Duplicate classes are always removed.


<FormulateInput  type="trim" :styling="['border-2', 'border-blue-gray-200']"/>

or using a string...


<FormulateInput  type="trim" :styling="border-2 border-blue-gray-200"/>

Keywords

trim

FAQs

Package last updated on 08 Jul 2022

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