MCPcopy Create free account
hub / github.com/betsol/angular-input-modified / initializeMasterValue

Function initializeMasterValue

src/directive/ngModel.js:117–126  ·  view source on GitHub ↗

* Initializes master value if required.

()

Source from the content-addressed store, hash-verified

115 * Initializes master value if required.
116 */
117 function initializeMasterValue () {
118
119 // Initializing the master value.
120 modelCtrl.masterValue = modelCtrl.$modelValue;
121
122 // Initially decorating the element.
123 updateCssClasses();
124
125 masterValueIsSet = true;
126 }
127
128 /**
129 * Decorates element with proper CSS classes.

Callers 1

onInputValueChangedFunction · 0.85

Calls 1

updateCssClassesFunction · 0.70

Tested by

no test coverage detected