aboutsummaryrefslogtreecommitdiff
path: root/experimental.html
diff options
context:
space:
mode:
Diffstat (limited to 'experimental.html')
-rw-r--r--experimental.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/experimental.html b/experimental.html
index a3345eb..62b4487 100644
--- a/experimental.html
+++ b/experimental.html
@@ -5,6 +5,16 @@
<div w3-include-html="https://navanchauhan.me/toolbar">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.0/jquery.min.js"></script>
</div>
+ <script
+ src="https://unpkg.com/material-components-web@0.9.1/dist/material-components-web.min.js">
+ </script>
+ <script>
+ mdc.autoInit()
+ document.getElementById('shrine-nav-icon').addEventListener('click', function(evt) {
+ evt.preventDefault();
+ document.getElementById('shrine-nav-menu').MDCTemporaryDrawer.open = true;
+ });
+ </script>
<script>
w3.includeHTML();
</script>