()
| 337 | }); |
| 338 | select.addEventListener('change', () => syncCustomSelect(select)); |
| 339 | renderCustomSelectOptions(select); |
| 340 | } |
| 341 | function enhanceCustomSelects(root) { |
| 342 | qsa('select:not(.custom-select-native)', root || document).forEach(enhanceCustomSelect); |
| 343 | } |
| 344 | function refreshCustomSelects(root) { |
| 345 | enhanceCustomSelects(root); |
| 346 | qsa('select.custom-select-native', root || document).forEach(renderCustomSelectOptions); |
| 347 | } |
| 348 | function positionOpenCustomSelects() { |
| 349 | qsa('select.custom-select-native').forEach(placeCustomSelectContent); |
| 350 | } |
no test coverage detected