Nativescript plugin to implement scratch view
npm install nativescript-scratchviewRun the following command from the root of your project:
``javascript`
tns plugin add nativescript-scratchview
You need to add xmlns:sv="nativescript-scratchview" to your page tag, and then simply use in order to add the widget to your page.`xml``
* percentRevealed
Triggered every time scratch view is scratched.
Parameters
event.percent - percentage of scratch view scratched
Apache License Version 2.0, January 2004