how to trigger the itemsShown event
See original GitHub issueHi, how would you implement a method of detecting when results appear after the user has been typing? I thought the ‘itemsShown’ event would have achieved this but it never seems to be fired.
This is my template code -
<ion-auto-complete
[dataProvider]="completerService"
(itemSelected)="selectUser($event)"
(ionAutoInput)="userTyping($event)"
(itemsShown)="itemsShown($event)"
[template]="withImages"
placeholder="Enter a name or email" #searchBar>
</ion-auto-complete>
Issue Analytics
- State:
- Created 6 years ago
- Comments:11 (3 by maintainers)
Top Results From Across the Web
How to trigger event in JavaScript? - Stack Overflow
To create the event you want to fire, you can use either createEvent or ... "detail": "Example of an event" }); // Dispatch/Trigger/Fire...
Read more >JQuery Trigger Event on Show/Hide of Element - ViralPatel.net
It provides a way to trigger the event handlers bound to an element without any user interaction via the .trigger() method. The .on()...
Read more >.trigger() | jQuery API Documentation
The .trigger() method can be used on jQuery collections that wrap plain JavaScript objects similar to a pub/sub mechanism; any event handlers bound...
Read more >How to trigger some events based on creation of a new list item?
Remote Event Receivers seem to be a solution. While attaching RER you have to specify EventType - ItemAdded should be the one you...
Read more >Trigger select event manully pass item and item value to event ...
I set the selected item using the first code block below. But I need to pass the item and items value to the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yep, that works! Not sure how I ended up the getting the ‘beta’ version… npm must’ve given me this when I ran
npm install ionic2-auto-complete --save
- very odd!Well this is very odd. Could you please try installing
1.5.2-release
?