Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: export open in speeddial #960

Merged
merged 2 commits into from
Jul 31, 2023
Merged

Conversation

jjagielka
Copy link
Contributor

@jjagielka jjagielka commented Jul 31, 2023

📑 Description

Exporting open in SpeedDial so you can control the popup status,

As requested on Discord - now you can close popup once clicked on any element. See example:

<script>
  import { SpeedDial, SpeedDialButton } from 'flowbite-svelte';
  let open = false;
  
  const close = () => {open =  false};
</script>

<SpeedDial bind:open>
    <SpeedDialButton name="Share" on:click={close}>Share</SpeedDialButton>
    <SpeedDialButton name="Print" on:click={close}>Print</SpeedDialButton>
</SpeedDial>

Status

  • Not Completed
  • Completed

✅ Checks

  • My pull request adheres to the code style of this project
  • My code requires changes to the documentation
  • I have updated the documentation as required
  • I have checked the page with https://validator.unl.edu/
  • All the tests have passed
  • My pull request is based on the latest commit (not the npm version).

ℹ Additional Information

@stackblitz
Copy link

stackblitz bot commented Jul 31, 2023

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@vercel
Copy link

vercel bot commented Jul 31, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
flowbite-svelte ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 31, 2023 3:36pm
flowbite-svelte-update ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 31, 2023 3:36pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants