@rabee-org/svelte-modal-manager
TypeScript icon, indicating that this package has built-in type declarations

0.2.1 • Public • Published

svelte-modal-manager

npm version

svelte-modal-manager is ...

Demo

Install

npm install @rabee-org/svelte-modal-manager --save

Usage

<script>
  import { onMount } from 'svelte';
  import { modalAlert } from '@rabee-org/svelte-modal-manager';
  import { modalConfirm } from '$modal';

  onMount(async () => {
    let modal = modalAlert.open({
      title: 'Hello, svelte-modal-manager',
    });
    
    await modal.awaitClose();

    const ok = await modalConfirm.openSync('OK?');
  });
</script>

License

MIT

Package Sidebar

Install

npm i @rabee-org/svelte-modal-manager

Weekly Downloads

26

Version

0.2.1

License

MIT

Unpacked Size

55.9 kB

Total Files

26

Last publish

Collaborators

  • horietty
  • tata_jp
  • ooharamasaki
  • suico
  • juth5
  • mtnn_rabee
  • simiraaaa
  • phi