dlegr250_material_design 0.1.87 → 0.1.88

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9eea5ab96037ea35dea8df685c00cf6e5f71da98
4
- data.tar.gz: 2bf3b988acfd42be16691f2eafb93059f9749bfc
3
+ metadata.gz: 1a7501ea6fb60c7ad31b0ae13f1ebdf2a2fa9a24
4
+ data.tar.gz: 416ebd6c14c2dc570013eed194d532d0a061f22e
5
5
  SHA512:
6
- metadata.gz: 1f2a92f7b44a77da75b3a6052d1f38fde163b45593fa5603cec2d8834c17415ff6e10406631c69121259ab6a730cc057cf122163ab96d208622863368f98b8c4
7
- data.tar.gz: f516931154e7e262ef2f6f5738dcb512324077adba79d81cd0881a2e9c2b00096d300d4f9546dee2ec1f4ae606abc453502660510407fc2c8a47e117668f0602
6
+ metadata.gz: aed3f769daa6f7c667925a5f8a973eea26a9bc67b7e3a0d619640000a37e92caaa07b825e493ed7a3bf40965014289d042f8d3b20f16bee5ac40cd5144032b09
7
+ data.tar.gz: fbfaa3bd8e4bfe97871b94cb0cc98c3c7bb5a4e72daf3a998710664b26973e8da73aa2b2e8798f72352bd37884abf9e60b0b59ca8f07d7cfd4f6f795b2ff6f65
@@ -1,3 +1,3 @@
1
1
  module Dlegr250MaterialDesign
2
- VERSION = "0.1.87"
2
+ VERSION = "0.1.88"
3
3
  end
@@ -56,3 +56,21 @@ class App.MD.InputMasks
56
56
  dGroup: "3",
57
57
  aPad: false # Pad decimals with 0's
58
58
  })
59
+
60
+ # Format: "1.234"
61
+ $(":input[data-format='percentage']").autoNumeric("init", {
62
+ vMin: "0",
63
+ vMax: "99.999",
64
+ aSign: " %",
65
+ pSign: "s", # Place % as suffix
66
+ aPad: true,
67
+ wEmpty: "sign" # Keep % when empty
68
+ })
69
+
70
+ # $(":input[data-format='percentage']").inputmask("99.999", {
71
+ # rightAlign: true,
72
+ # greedy: false,
73
+ # placeholder: "_.___",
74
+ # allowPlus: false,
75
+ # allowMinus: false
76
+ # })
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dlegr250_material_design
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.87
4
+ version: 0.1.88
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel LeGrand