-
Notifications
You must be signed in to change notification settings - Fork 8
Cannot capture click of a button #6
Comments
can you please paste markup here ? |
Sorry, didn't include the example.
Now, I am trying to capture the event of the button in sb-item-head but I am unable to capture an event. Hope that makes some sense to you. |
Don't think is going to work that way, the |
Yes, You're right. I saw
|
i meant maybe we can have something like:
|
Okay Thanks |
Well, I got some time to play with it. What I wanted to do is in the sb-item-header have capabilities to detect button click as well as the tap some other place of the header This is what the code look like for this
You can see here there are two different taps
Now, if I try to pass my button event click to sb-item-header still it is getting the |
mm i see will push an update soon maybe that helps you will be an output on each item so you know when the time is toggled |
@imrvshah code updated please see the outputs section https://github.com/asotog/squeezebox/#outputs |
I have resolved this for our Angular 4 application by using the following: |
I have text as well as a button on SB-item-header. Now if I want to capture a click of a button it is taking the click of the toggle.
I tried to play with
event.preventDefault();
but no luck.Any leads to getting this click?
The text was updated successfully, but these errors were encountered: