MCPcopy Index your code
hub / github.com/angular-ui/ui-router / addOptionElement

Function addOptionElement

test/angular/1.6/angular.js:31427–31431  ·  view source on GitHub ↗
(option, parent)

Source from the content-addressed store, hash-verified

31425 // ------------------------------------------------------------------ //
31426
31427 function addOptionElement(option, parent) {
31428 var optionElement = optionTemplate.cloneNode(false);
31429 parent.appendChild(optionElement);
31430 updateOptionElement(option, optionElement);
31431 }
31432
31433 function getAndUpdateSelectedOption(viewValue) {
31434 var option = options.getOptionFromViewValue(viewValue);

Callers 1

updateOptionsFunction · 0.70

Calls 1

updateOptionElementFunction · 0.70

Tested by

no test coverage detected