epeschier / angular-numeric-directive Goto Github PK
View Code? Open in Web Editor NEWAngularJS numeric directive
License: MIT License
AngularJS numeric directive
License: MIT License
if(module) {
module.exports = 'purplefox.numeric';
}
throws 'module undefined..'
I thing this checking work if variable is non initialized, but declared
https://stackoverflow.com/questions/2647867/how-to-determine-if-variable-is-undefined-or-null
This seems better
if(typeof module !== 'undefined') {
module.exports = 'purplefox.numeric';
}
Bower seems to use the git repository tag to find a specific version:
bower angular-numeric-directive#0.9.8 not-cached https://github.com/epeschier/angular-numeric-directive.git#0.9.8
bower angular-numeric-directive#0.9.8 resolve https://github.com/epeschier/angular-numeric-directive.git#0.9.8
bower angular-numeric-directive#0.9.8 ENORESTARGET No tag found that was able to satisfy 0.9.8
However, since there are not tags in this repo, it fails as shown above.
Can you please add tags? ๐
"main": "src/angular-numeric-directive.js",
Hello! Could you please provide licensing information for your software? It also would be nice to put a License file to your repository. Thanks in advance!
Can you add maxInputLength and apply round the value to attributes?
Set min value to minus, but the input didn't allow minus sign (-).
I try to type minus sign, but the input show nothing.
Any idea how to fix it?
If use two input, for example:
<input numeric ng-model="maxValue" min="minValue" decimals="3" />
<input numeric ng-model="minValue" max="maxValue" decimals="3" />
When max or min changed, formatting in other input lost.
I am unable to set place holder when applying numeric directive.
Any Idea ?
If the starting model value is 0, then the view renders as 0.
Shouldn't it render as 0.00?
If you tab in and out of the control, without altering the value, the formatting gets applied, and the view is 0.00
Hi! How i can add comma to numeric input?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.