
Product
Introducing Socket Scanning for OpenVSX Extensions
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.
plugin-tigre-money-directive
Advanced tools
Plugin de directive vue para formatação de número. É um fork de um repositório já existente no NPM. Foi feito o fork para manter versões e segurança das aplicações da TIGRE.
É só instalar e usar. Não requer configurações extras.
Funciona tanto para v-text-field quanto input
Extremamente leve
npm install plugin-tigre-money-directive --save
import money from 'plugin-tigre-money-directive'
Vue.use(money)
<input v-model="preco" v-money-tigre />
-ou-
<v-text-field v-model="preco" v-money-tigre />
Também é possível passar a quantidade de casas decimais como parâmetro utilizando a tag precision, como o exemplo abaixo:
<v-text-field v-model="preco" v-money-tigre="{ precision: 4 }" /> <!-- 4 casas decimais -->
Precision só aceita NÚMEROS INTEIROS maiores que 0 e menores que 6.
Caso qualquer outro valor seja passado, será utilizado 2 casas decimais.
O sufixo é R$
Até 5 casas decimais utilizando a tag precision
Ponto ( . ) separando os milhares
Exemplo: R$ 47.210,55
FAQs
Plugin de directive vue para formatação de número. É um fork de um repositório já existente no NPM. Foi feito o fork para manter versões e segurança das aplicações da TIGRE.
We found that plugin-tigre-money-directive demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?

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.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.

Product
Bringing supply chain security to the next generation of JavaScript package managers

Product
A safer, faster way to eliminate vulnerabilities without updating dependencies