Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

Commit 04f51c7

Browse files
committed
Merge pull request #117 from lukepfeiffer10/documentation-edits
Documentation updates
2 parents 61ae05e + 1dfc87f commit 04f51c7

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,14 @@ Whereas, `maskDefinitions` is an object, so any custom object you supply will be
7575
#### maskDefinitions
7676
The keys in `maskDefinitions` represent the special tokens/characters used in your mask declaration to delimit acceptable ranges of inputs. For example, we use '9' here to accept any numeric values for a phone number: `ui-mask="(999) 999-9999"`. The values associated with each token are regexen. Each regex defines the ranges of values that will be acceptable as inputs in the position of that token.
7777

78+
#### modelViewValue
79+
If this is set to true, then the model value bound with `ng-model` will be the same as the `$viewValue` meaning it will contain any static mask characters present in the mask definition. This will not set the model value to a `$viewValue` that is considered invalid.
80+
81+
#### uiMaskPlaceholder
82+
Allows customizing the mask placeholder when a user has focused the input element and while typing in their value
83+
84+
#### uiMaskPlaceholderChar
85+
Allows customizing the mask placeholder character. The default mask placeholder is `_`.
7886

7987
## Development
8088

karma.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ module.exports = function(config) {
2525

2626
// test results reporter to use
2727
// possible values: 'dots', 'progress', 'junit', 'growl', 'coverage'
28-
reporters: ['progress'],
28+
reporters: ['progress','saucelabs'],
2929

3030

3131
// web server port

0 commit comments

Comments
 (0)