MCPcopy Index your code
hub / github.com/angular-ui/ui-grid / updateOptionElement

Function updateOptionElement

lib/test/angular/1.4.3/angular.js:26300–26308  ·  view source on GitHub ↗
(option, element)

Source from the content-addressed store, hash-verified

26298
26299
26300 function updateOptionElement(option, element) {
26301 option.element = element;
26302 element.disabled = option.disabled;
26303 if (option.value !== element.value) element.value = option.selectValue;
26304 if (option.label !== element.label) {
26305 element.label = option.label;
26306 element.textContent = option.label;
26307 }
26308 }
26309
26310 function addOrReuseElement(parent, current, type, templateElement) {
26311 var element;

Callers 1

updateOptionsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected