0.0.9 • Published 4 months ago
nathans-santa-popup v0.0.9
Nathan's Santa Popup Library
From Svelte Society's Advent of Svelte 2023 - Day 10.
Installation
npm install -D santa-popup
Usage
<script>
import SantaPopup from 'santa-popup';
</script>
<SantaPopup />
Props
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 |