mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
fix: convert property bag to args
This commit is contained in:
@@ -56,17 +56,17 @@ function accessibilityEventHelper(view: View, eventType: number) {
|
||||
*/
|
||||
if (SDK_VERSION >= 26) {
|
||||
// Trigger all tap handlers on this view.
|
||||
new DOMEvent('tap').dispatchTo({
|
||||
target: view as View,
|
||||
data: {
|
||||
new DOMEvent('tap').dispatchTo(
|
||||
view as View,
|
||||
{
|
||||
android: view.android,
|
||||
eventName: 'tap',
|
||||
ios: null,
|
||||
object: view,
|
||||
type: GestureTypes.tap,
|
||||
view,
|
||||
} as GestureEventData,
|
||||
});
|
||||
} as GestureEventData
|
||||
);
|
||||
}
|
||||
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user