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

Function renderUnknownOption

test/angular/1.4/angular.js:27044–27049  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27042
27043
27044 var renderUnknownOption = function() {
27045 selectElement.prepend(unknownOption);
27046 selectElement.val('?');
27047 unknownOption.prop('selected', true); // needed for IE
27048 unknownOption.attr('selected', true);
27049 };
27050
27051 var removeUnknownOption = function() {
27052 unknownOption.remove();

Callers 1

ngOptionsPostLinkFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected