Closed 5alidshammout closed 3 years ago
Hi! Can you implement this feature and open Pull Request?
you need to pass fontFamily
and fontColor
args to ConfettiShape constructor and use them in draw
method
don't forget about default values and TypeScript typings, and please provide an example of usage
how to use the .draw()
method?
you don't need to use draw method, it is called by JSConfetti instance
thanks but I really didn't understand, can you show me how to make the text white by changing my code please?
you need to fork this repo, do changes described in this comment https://github.com/loonywizard/js-confetti/issues/29#issuecomment-900980170 and then create a pull request
After that, I will review changes, and if it is OK I will merge this, otherwise I will leave comments on PR
sorry, I'd really like to contribute to this repo, but I don't know ts
I was happy I was able to do this: using:
but I want to change the font, color and size of the text, can you do that please?