Skip to content

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

GGaritaJ/ggAbbreviationMasks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published