How to capture event in drawing pad using nativescript-drawing plugin


How can we enable a ‘reset’ button by checking if drawing pad is not empty

Is there a way to capture event while writing anything in drawing pad


any suggestion for this


resolved by capturing getdrawing()
getdrawing() returns an error when a drawing pad is empty where as it sends data if the drawing pad is non empty