cssivision / react-native-qrcode

a minimalist qrcode component for react-native
MIT License
853 stars 304 forks source link

Is there a property or method that we can clear it "loaded" or "completed" like Image? #53

Closed thiszhong closed 6 years ago

thiszhong commented 6 years ago

Although it is a short time, sometimes the state is important for us. For example, I create a qrcode by clicking a button and I will take a view shot after it. Then I got a blank if I shot too fast. Now I use the "setTimeout", but I still cannot confirm that if it loaded. So the question is, can I clear the state of the qrcode?