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

Function renderUnknownOption

lib/test/angular/1.5.0/angular.js:27502–27507  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27500
27501
27502 var renderUnknownOption = function() {
27503 selectElement.prepend(unknownOption);
27504 selectElement.val('?');
27505 unknownOption.prop('selected', true); // needed for IE
27506 unknownOption.attr('selected', true);
27507 };
27508
27509 var removeUnknownOption = function() {
27510 unknownOption.remove();

Callers 1

ngOptionsPostLinkFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected