| Total Complexity | 6 |
| Complexity/F | 0 |
| Lines of Code | 28 |
| Function Count | 0 |
| Duplicated Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | const showLoadingSpinner = () => { |
||
| 2 | document.getElementById("loadingSpinner")?.classList.remove("d-none"); |
||
| 3 | }; |
||
| 4 | |||
| 5 | const hideLoadingSpinner = () => { |
||
| 6 | document.getElementById("loadingSpinner")?.classList.add("d-none"); |
||
| 7 | }; |
||
| 8 | |||
| 9 | const showDataTable = () => { |
||
| 10 | document.getElementById("tableElement")?.classList.remove("d-none"); |
||
| 11 | }; |
||
| 12 | |||
| 13 | const hideDataTable = () => { |
||
| 14 | document.getElementById("tableElement")?.classList.add("animate__fadeOut"); |
||
| 15 | }; |
||
| 16 | |||
| 17 | const hideElements = () => { |
||
| 18 | document.getElementById("tableElement")?.classList.add("animate__fadeOut"); |
||
| 19 | document.getElementById("loadingSpinner")?.classList.add("d-none"); |
||
| 20 | }; |
||
| 21 | |||
| 22 | export default { |
||
| 23 | showLoadingSpinner, |
||
| 24 | hideLoadingSpinner, |
||
| 25 | showDataTable, |
||
| 26 | hideDataTable, |
||
| 27 | hideElements, |
||
| 28 | }; |