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

Function addOptionElement

lib/test/angular/1.7.0/angular.js:31650–31654  ·  view source on GitHub ↗
(option, parent)

Source from the content-addressed store, hash-verified

31648 // ------------------------------------------------------------------ //
31649
31650 function addOptionElement(option, parent) {
31651 var optionElement = optionTemplate.cloneNode(false);
31652 parent.appendChild(optionElement);
31653 updateOptionElement(option, optionElement);
31654 }
31655
31656 function getAndUpdateSelectedOption(viewValue) {
31657 var option = options.getOptionFromViewValue(viewValue);

Callers 1

updateOptionsFunction · 0.70

Calls 1

updateOptionElementFunction · 0.70

Tested by

no test coverage detected