onclick seems to work ok for me:
<paper-menu-button icon="menu">
<paper-item onclick="sayHello();">Menu Item 1</paper-item>
<paper-item>Menu Item 2</paper-item>
<paper-item>Menu Item 3</paper-item>
</paper-menu-button>
<script>
function sayHello() { alert('hello!'); }
</script>
is your simulator running ios 7 or is it on an ios 8 preview?
On Tue, Jul 29, 2014 at 3:02 PM, Paul Bailey <[email protected]>
wrote:
> I tried the onclick attribute too and that did not work. I didn't try
> javascript via addEventListener though.
>
> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/polymer-dev/a317aa3e-1f43-4b4f-9ae5-25382b649ac5%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/a317aa3e-1f43-4b4f-9ae5-25382b649ac5%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>
Follow Polymer on Google+: plus.google.com/107187849809354688692
---
You received this message because you are subscribed to the Google Groups
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/polymer-dev/CAJj5OwCJNrOvk%2B9bwzuxV3KX%2B3B3bCYm7O5myGPcAyqM3%2BBjAg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.