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

Function renderEmptyOption

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

Source from the content-addressed store, hash-verified

27484
27485
27486 var renderEmptyOption = function() {
27487 if (!providedEmptyOption) {
27488 selectElement.prepend(emptyOption);
27489 }
27490 selectElement.val('');
27491 emptyOption.prop('selected', true); // needed for IE
27492 emptyOption.attr('selected', true);
27493 };
27494
27495 var removeEmptyOption = function() {
27496 if (!providedEmptyOption) {

Callers 1

ngOptionsPostLinkFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected