Masth0/ScratchCard

html background does not work

Closed this issue · 2 comments

It seems that the information on the "HTML background" section of the demo page is "out of sync" with the demo itself. Neither the Javascript nor the HTML layout mentions anything about the HTML background shown in the demo. Moreover, I could not get it to work based on the incomplete information from the Readme on GitHub.

BTW, I did manage to get it to work with the regular image background. Could you please revise and update the information about how to use an HTML background. This is a great js lib and I can foresee many use cases as far as I am concerned! Thank you a bunch!

Hi, yes it seems i forgot to add the html in the demo, sorry for that ... it's can be very annoying when the code is missing 😕
So i will reworking the documentation, i messed up with that.

Thank you for your message 😊

@lilchow
Hi you can take a look at the new documentation. Tell me if this is not clear.