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

How to get the clicked button? #61

Open
alexwenbj opened this issue May 7, 2018 · 2 comments
Open

How to get the clicked button? #61

alexwenbj opened this issue May 7, 2018 · 2 comments

Comments

@alexwenbj
Copy link

Hi,how can i get the clicked button on toolbar?the toolbarItemClick event can't get the clicked item.Thank you in advance.

@JayCeee
Copy link

JayCeee commented Oct 23, 2018

$(.btn-toolbar).on('toolbarItemClick', function( event , triggerButton ) {

  • event = useless
  • this = target
  • triggerButton => trigger Button ...

@alexwenbj
Copy link
Author

@JayCeee Got it, thank you.

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

2 participants