SymphonyElectron/js/snackBar/content.js
Kiran Niranjan cc39f43ee7 ELECTRON-483 (Implement a functionality to display snack bar) (#390)
- 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
2018-07-09 13:24:35 +05:30

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
};