svelte-modal-manager
v0.0.9
Published
svelte-modal-manager is ...
Downloads
416
Readme
svelte-modal-manager
svelte-modal-manager is ...
Demo
- Live Demo: https://svelte-modal-manager.onrender.com
- REPL: https://svelte.dev/repl/65f83041cd2e4a0da0748088788c6674?version=3.47.0
Install
npm install svelte-modal-manager --save
Usage
<script>
import { onMount } from 'svelte';
import { openModal, alert } from 'svelte-modal-manager';
onMount(() => {
let modal = openModal('alert', {
title: 'Hello, svelte-modal-manager',
});
});
</script>
License
MIT