diff options
author | Navan Chauhan <navanchauhan@gmail.com> | 2018-02-09 16:21:56 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-09 16:21:56 +0530 |
commit | 2e79198b28169002fdf8825cf498a89de904ec4e (patch) | |
tree | 6a3da7c9d71875d0614527bb79827a191753e4dc /experimental.html | |
parent | 9cbb5c0fab30a04f5759278cd10dc671e99ba5ff (diff) |
Update experimental.html
Diffstat (limited to 'experimental.html')
-rw-r--r-- | experimental.html | 10 |
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> |