pqina / svelte-filepond

🔌 A handy FilePond adapter component for Svelte
MIT License
247 stars 10 forks source link

How to use an Icon library for label text #25

Closed ispyinternet closed 3 months ago

ispyinternet commented 3 months ago

Is there a pattern that allows us to use a svelte icon library to insert the button label text?

rikschennink commented 3 months ago

The svelte-filepond adapter is a wrapper around a normal JavaScript component so I think the only options is to send plain HTML

ispyinternet commented 3 months ago

Fair enough, I do remember some other library being able to support this somehow, but not sure how they made it happen,

ispyinternet commented 3 months ago

Is it possible to hide the button and then programmatically trigger it?

rikschennink commented 3 months ago

I'll close this as the original question has been answered.

As requested in the original issue template, please use Stack Overflow for questions.