MSGestureHold event not trigerred in Windows 8.1 -



MSGestureHold event not trigerred in Windows 8.1 -

my app uses silverlight 8.0 sdk, msgesturehold event works on windows 8, if same tested on 8.1 event not triggered.

can suggest solution?

this code works fine in webview wphone 8.1 apps :

var init = function(){ var mystate = // context var target = // dom variable target var msg = new msgesture(); msg.target = target; target.addeventlistener("msgesturehold", function (evt) { buttontactilelistener.apply(mystate, [evt, msg]); }, false); target.addeventlistener("pointerdown", function (evt) { buttontactilelistener.apply(mystate, [evt, msg]); }, false); target.addeventlistener("msgestureend", function (evt) { buttontactilelistener.apply(mystate, [evt, msg]); }, false); } var buttontactilelistener = function (evt, msgesture) { var mystate = this; if (evt.type == "pointerdown") { msgesture.addpointer(evt.pointerid); return; } if (evt.type == "msgesturehold") { ///do return; } if (evt.type == "msgestureend") { // renew instance of handler msgesture = new msgesture(); msgesture.target = evt.target; return; } }

windows-phone-8

Comments

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -