Closed rasto68 closed 8 years ago
Hi, @rasto68, you can listen for iron-activate
events and cancel them to prevent the selection from occuring (code, docs). Here's a demo. Let me know if this isn't what you meant or is insufficient and I'll reopen; otherwise, thanks for filing!
Thanks Russell that looks like it could help :)
We are using iron-selector in a simple accordion menu type control but occasionally we need to be able to cancel a selection, iron-selector doesn't currently support this (via the API I can see anyway) leading to some annoying logic at slightly higher level in the code.