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

Function renderUnknownOption

test/angular/1.5/angular.js:29568–29573  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29566 };
29567
29568 var renderUnknownOption = function() {
29569 selectElement.prepend(unknownOption);
29570 selectElement.val('?');
29571 unknownOption.prop('selected', true); // needed for IE
29572 unknownOption.attr('selected', true);
29573 };
29574
29575 var removeUnknownOption = function() {
29576 unknownOption.remove();

Callers 1

ngOptionsPostLinkFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected