GGaritaJ / ggAbbreviationMasks

Plugin based on jquery that allows the summary handling of abbreviations (ex: area, weight, volume, currency) and masks (ex: thousands) for numeric inputs on the websites. More info: www.ggaritaj.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ggAbbreviationMasks

jQuery plugin ggAbbreviationMasks v1.0 -developed by GGaritaJ: Gerardo Garita-

Plugin based on jquery that allows the summary handling of abbreviations (ex: area, weight, volume, currency) and masks (ex: thousands) for numeric inputs on the websites.

Usage:

$("div.Abbrev").ggAbbreviationMasks().Abbreviation({
    abbreviations: ["area", 
                    "weight", 
                    "percentage", 
                    "distance", 
                    "precipitation", 
                    "temperature", 
                    "altitude", 
                    "velocity", 
                    "time", 
                    "latitude", 
                    "longitude", 
                    "money", "moneyAlt", 
                    "custom"] //default units
});

$("div.thousandsMask").ggAbbreviationMasks().ThousandsMask({
    thousandseparator: ",",
    decimalseparator: ".",
    decimals: 2
});

Online example: https://jsfiddle.net/GGaritaJ/c5h9xgvL/8/

More info: www.ggaritaj.com info@ggaritaj.com

About

Plugin based on jquery that allows the summary handling of abbreviations (ex: area, weight, volume, currency) and masks (ex: thousands) for numeric inputs on the websites. More info: www.ggaritaj.com

License:GNU General Public License v3.0


Languages

Language:JavaScript 45.7%Language:HTML 29.3%Language:CSS 24.9%