I have two seperate css stylesheet files (Style1 and Style2) for my google web application. I am storing one of these file name in browser storage as:
localStorage.theme
I am applying the default Style1 to my html using:
<head>
<base target="_top">
<?= HtmlService.createHtmlOutputFromFile('Style1') ?>
</head>
I have two questions:
Is it possible that, when the page loads it reads the browser storage and apply the stylesheet specified there?
Is it possible to toggle stylesheets on the fly without reloading the application?