Created
November 15, 2018 09:42
-
-
Save ardarda/bd9ecc91901886493e3aba8c54d0a0a7 to your computer and use it in GitHub Desktop.
vaadin js injection
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// // top tool bar background color css variable customization point | |
// UI.getCurrent().getPage().executeJavaScript("window.onload = function() {\n" + | |
// " setTimeout(function() {\n" + | |
// " var html = document.getElementsByTagName('html')[0];\n" + | |
// " html.style.cssText = \"--app-layout-bar-background-color: #004a96\";\n" + | |
// " }, 0);\n" + | |
// "};"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment