ionic2-autocomplete icon indicating copy to clipboard operation
ionic2-autocomplete copied to clipboard

Use custom function for 'ionClear' event

Open Hermiona opened this issue 7 years ago • 3 comments

I need to use my own custom function when 'ionClear' event emits. How can I do that?

Hermiona avatar Jan 30 '18 11:01 Hermiona

Currently there's no support for that, I'll mark it as a feature request.

kadoshms avatar Jan 30 '18 11:01 kadoshms

Any result of this option? It would also be good for me. I have already made the change in my project because it is very simple to implement. But it did not work because the file is not loading, I'm not sure how to make changes to a plugin and install it again in my project, is there somewhere to teach how to do it?

renanmoraes avatar Jun 30 '18 23:06 renanmoraes

@renanmoraes Hey, you can simply fork the repo and clone the fork to your local workspace. After your'e done with the changes, you can either push them and make a pull request to the main project, and then I will merge when I can (it could take some time), or you can run the build script (npm run build), then a dist folder will be created. Now you have two options - publish it to npm, or to commit this dist file to your repo, push it, and then use your repository as the dependency in the project you use it.

I'm sorry for not being able to maintain the project, hopefully I will be in the next month.

kadoshms avatar Jul 01 '18 06:07 kadoshms