Meteor JS: It’s very easy to define field masks for an application Meteor JS

You need use :

$('.your css field').mask('your mask');

Example :



<input type="text" class="phone form-control" 
placeholder="Your Phone" value="{{}}">



Template.Mine.rendered = function(){
    $('.phone').mask('00 00000-0000');

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s