silencesys / silentbox

A lightbox inspired Vue.js component.
https://silentbox.rocek.dev
MIT License
296 stars 50 forks source link

Adding buttons to the lightbox #30

Closed hsmess closed 4 years ago

hsmess commented 4 years ago

Is there a built in way to add a button where the description goes? Like a slot or something? If not, is the best thing to do fork?

silencesys commented 4 years ago

There are no slots in the overlay, but you can use description property to pass the description to the overlay. I might add custom slots later.

silencesys commented 4 years ago

Closing due to inactivity.

hsmess commented 4 years ago

To update you, the description property was not appropriate for my use-case. I switched to a different package rather than forking and maintaining