Skip to content

Conversation

@hobbitronics
Copy link
Contributor

Added

  • toggle (opens and closes Drawer when modal or dismissible), dismissible(Drawer is hidden by default) and hasTopAppBar props to Drawer
  • Drawer.stories.svelte
  • updated CHANGELOG and README
  • added a demo theme for stories and imported

Changed

  • used global rules in Drawer

@hobbitronics hobbitronics requested a review from briskt June 7, 2021 21:25
const isMenuItemActive = (currentUrl, menuItemUrl) => currentUrl === menuItemUrl
$: currentUrl = window.location.pathname
$: toggle, toggleDrawer()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does $: toggle, toggleDrawer() work the same as $: toggle && toggleDrawer() ? At one point I thought so, but I haven't been able to get it to work recently.

@hobbitronics hobbitronics merged commit 49e8862 into develop Jun 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants