You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This package would be a lot more flexible if the UI was completely decoupled from the sharing service. I would love to be able to call new ShareButton(), have the config take in a "render" function for each network, and call that function to actually render the DOM elements for the given network.
It would then return the DOM element wrapping all the buttons and allow me to insert that into the DOM myself. This would allow for a 100% flexible UI, and have nicely decoupled code.
The text was updated successfully, but these errors were encountered:
Hey @clayne11 for now this is meant to be a drop-and-go library instead of full customization. This is a great idea for a future/major release of share-button!
This package would be a lot more flexible if the UI was completely decoupled from the sharing service. I would love to be able to call new ShareButton(), have the config take in a "render" function for each network, and call that function to actually render the DOM elements for the given network.
It would then return the DOM element wrapping all the buttons and allow me to insert that into the DOM myself. This would allow for a 100% flexible UI, and have nicely decoupled code.
The text was updated successfully, but these errors were encountered: