* Display a snackbar message on the screen. * * @param {string} message The message to be displayed. * @param {number} timeoutMillis How many millliseconds the message * will stay on the screen before disappearing.
(message, timeoutMillis = 4000)
| 119 | * will stay on the screen before disappearing. |
| 120 | */ |
| 121 | function showSnackbar(message, timeoutMillis = 4000) { |
| 122 | snackbar.labelText = message; |
| 123 | snackbar.timeoutMs = timeoutMillis; |
| 124 | snackbar.open(); |
| 125 | } |
| 126 | |
| 127 | const filesDialogButton = document.getElementById('files-dialog-button'); |
| 128 | const frontendInferenceCheckbox = |
no outgoing calls
no test coverage detected