Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make SpotlightView/Targetclickable #35

Closed
nikhilpanju opened this issue May 29, 2018 · 4 comments
Closed

Make SpotlightView/Targetclickable #35

nikhilpanju opened this issue May 29, 2018 · 4 comments

Comments

@nikhilpanju
Copy link

Can you make spotlightview or the target clickable? I know we can make a custom view and set clickable there but it would be great to make the target itself clickable to make the user tap on the target to move forward

@TakuSemba
Copy link
Owner

The target is a clipped area.
so if you want to click the clipped area, i think you could set a listener on your view targeting.

@RobertoAlvarezCeballos
Copy link

I´m trying the same thing right now. The whole SpotView has the click event, there is no easy way to detect onclick only on the target area.

Any ideas are welcome

@TakuSemba
Copy link
Owner

sorry, i was wrong.

To work it around, you have to use an customTarget and set an listener on the view on the CustomTarget.

I will try to improve this, but I can tell when so far, sorry.

@chintan369
Copy link

Is this now clickable a target or shape in the current version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants