Closed ajmeese7 closed 1 year ago
Unfortunately GitHub doesn't allow me to have the maintainer checkbox since the PR was made from an organizational fork, I'll go back and revert the changes the autolinter made real quick.
No worries. I'll merge this in and then fix it on master
New version (v1.5.0) is pushed. Should be available in a few minutes.
Background
I use
svelte-simple-modal
with SvelteKit. In #92 the suggested implementation of my need to fade between content in the modal required a way to reference the Modal elsewhere in my codebase.Currently Observed Behavior
There is no easy, clean way to reference a specific modal as it stands currently.
New Behavior
This PR introduces a way to set the modal ID, allowing for easy reference in any external CSS/JavaScript.
Demo: https://svelte.dev/repl/ab14f5620f10465b83150c132e361c57?version=3.55.1