0

I'm working on an app using Angular 2+ and Nativescript 5. In a normal button I listen to "taps" with the tap event:

<Button text="Tap me" (tap)="onTap($event)"></Button>

But the tap event triggers after the finger releases the button.

Now I want to listen to the "ButtonDown" event, when the finger touches the button. But I can't find that event on the docs!

Is there any workaround that works in this case?

1 Answer 1

1

You may have to listen for the touch event and make sure the action is down.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.