You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
const Drawer = hyDrawer.Drawer;
window.drawer = new Drawer(fixedSidebar, {
mouseEvents: true
});
sidenavTrigger.addEventListener('click', function (e) {
e.preventDefault();
window.drawer.toggle();
});
JavaScript error
uncaught ReferenceError: hyDrawer is not defined
What should I do to make work the component?
The text was updated successfully, but these errors were encountered:
ElliotFer2000
changed the title
I can't initialize the drawer component, only types scripts fail there are when clone the repo
I can't initialize the drawer component, only types scripts files there are when clone the repo
Jun 28, 2020
ElliotFer2000
changed the title
I can't initialize the drawer component, only types scripts files there are when clone the repo
I can't initialize the drawer component, only typescripts files there are when clone the repo
Jun 29, 2020
I can't see what file I should import, I only see typescripts files.
I tried to use the url but in that way I get an error.
Script tag
<script type="module" href="https://unpkg.com/hy-drawer/dist/webcomponent/module.js"></script>
JavaScript code
JavaScript error
uncaught ReferenceError: hyDrawer is not defined
What should I do to make work the component?
The text was updated successfully, but these errors were encountered: