fix: convert property bag to args

This commit is contained in:
shirakaba
2022-12-21 10:40:25 +09:00
parent 253d313776
commit 1f3a62c3fb
5 changed files with 44 additions and 194 deletions

View File

@@ -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;