MCPcopy Create free account
hub / github.com/angular-ui/ui-router / addOptionElement

Function addOptionElement

test/angular/1.7/angular.js:32625–32629  ·  view source on GitHub ↗
(option, parent)

Source from the content-addressed store, hash-verified

32623 // ------------------------------------------------------------------ //
32624
32625 function addOptionElement(option, parent) {
32626 var optionElement = optionTemplate.cloneNode(false);
32627 parent.appendChild(optionElement);
32628 updateOptionElement(option, optionElement);
32629 }
32630
32631 function getAndUpdateSelectedOption(viewValue) {
32632 var option = options.getOptionFromViewValue(viewValue);

Callers 1

updateOptionsFunction · 0.70

Calls 1

updateOptionElementFunction · 0.70

Tested by

no test coverage detected