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

Function addOptionElement

lib/test/angular/1.6.7/angular.js:30866–30870  ·  view source on GitHub ↗
(option, parent)

Source from the content-addressed store, hash-verified

30864 // ------------------------------------------------------------------ //
30865
30866 function addOptionElement(option, parent) {
30867 var optionElement = optionTemplate.cloneNode(false);
30868 parent.appendChild(optionElement);
30869 updateOptionElement(option, optionElement);
30870 }
30871
30872 function getAndUpdateSelectedOption(viewValue) {
30873 var option = options.getOptionFromViewValue(viewValue);

Callers 1

updateOptionsFunction · 0.70

Calls 1

updateOptionElementFunction · 0.70

Tested by

no test coverage detected