Hi!
I am going to send a PressedPosition to JavaScript on the Pressed event.
<WhilePressed ux:Name="press">
<DataBinding Target="press.PressedPosition" Key="pressedPosition"/>
<Callback Handler="{onPressed}"/>
</WhilePressed>
and
onPressed = function(e)
{
debug_log(JSON.stringify(e.data.pressedPosition.value));
}
It returns null.
On Clicked event, x, y could be read, but not on Pressed event.
How can I get PressedPosition in JavaScript?
Thank you.