halfmoonui / halfmoon

Halfmoon is a highly customizable, drop-in Bootstrap replacement. It comes with three built-in core themes, with dark mode support for all themes and components.
https://www.gethalfmoon.com
MIT License
3.01k stars 118 forks source link

Modal close event #120

Closed thdoan closed 2 years ago

thdoan commented 2 years ago

How are you guys handling logic to kick off some logic when the modal is closed? I looked in the source and don't see a dispatchEvent() anywhere, so I was planning to create a mutation observer for this, but wanted to see some other solutions before I proceed.

ksenginew commented 2 years ago

Hi @thdoan It looks like halfmoon is not in active development. I had created an active clone named Fullmoon. Please refer to https://github.com/halfmoonui/halfmoon/issues/116#issuecomment-1013674632 for more info.

You can report any issues here. And contribute Fullmoon to add this feature.

thdoan commented 2 years ago

@ksenginew glad you're picking up the mantle, but one suggestion though: maybe mention Halfmoon somewhere -- this word is nowhere to be found on https://github.com/ksenginew/fullmoon.

ksenginew commented 2 years ago

@ksenginew glad you're picking up the mantle, but one suggestion though: maybe mention Halfmoon somewhere -- this word is nowhere to be found on https://github.com/ksenginew/fullmoon.

Oh I wanted to mention halfmoon. I had mentioned in main source files. But forgot to mention in readme. I'll do it as soon as possible.(with some readme improvements)