mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-11-29 20:24:10 -06:00
cc39f43ee7
- Implement a functionality to display snack bar - Localize snack bar - Move key press logic to windowMgr - Center snackbar - Add functionality to remove snackbar on leave-full-screen event - Add safety check - optimize code to listen keydown event only if the window is in full screen
11 lines
272 B
JavaScript
11 lines
272 B
JavaScript
const snackBarContent = (
|
|
`<div id="snackbar">
|
|
<span data-i18n-text="Press "></span>
|
|
<span id="snackbar-esc" data-i18n-text="esc"></span>
|
|
<span data-i18n-text=" to exit full screen"></span>
|
|
</div>`
|
|
);
|
|
|
|
module.exports = {
|
|
snackBarContent
|
|
}; |