* Get the first currently visible top-level UI tab content (e.g. the div hosting the "txt2img" UI).
()
| 21 | * Get the first currently visible top-level UI tab content (e.g. the div hosting the "txt2img" UI). |
| 22 | */ |
| 23 | function get_uiCurrentTabContent() { |
| 24 | return gradioApp().querySelector('#tabs > .tabitem[id^=tab_]:not([style*="display: none"])'); |
| 25 | } |
| 26 | |
| 27 | var uiUpdateCallbacks = []; |
| 28 | var uiAfterUpdateCallbacks = []; |
no test coverage detected