Created
January 8, 2021 19:53
-
-
Save woody180/46a7dba4d98ca5d07e6c3c23c80f7bfd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Arguments list | |
1. class to watch | |
2. event type | |
3. callback | |
*/ | |
UIkit.util.on('.uk-search-default', 'click', e => console.log(e.target.parentElement)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment