From Svelte Society's Advent of Svelte 2023 - Day 10.
npm install -D santa-popup
<script>
import SantaPopup from 'santa-popup';
</script>
<SantaPopup />
Prop | Type | Default | Description |
---|---|---|---|
delay |
number |
5000 |
Initial delay before the popup is shown |
title |
string |
Merry Christmas! |
Title of the popup |
message |
string |
Santa is coming to town! |
Message to display in the popup |