Page 1 of 1

p-menuitem onclick not working

Posted: 09 Oct 2017, 19:22
by jconner
onclick for the menuitem does not seem to work. Is this a bug or am I not doing something correctly? The documentation of menuitem doesnt have any examples. Here is an example of the behavior.

https://codepen.io/anon/pen/MEVNVe?editors=1001

In my example the button works but the menuitem does not.


EDIT: This behavior only occurs when using PrimeElements, when using NON-PrimeElements it works

https://codepen.io/anon/pen/PJeYOP?editors=1001

Re: p-menuitem onclick not working

Posted: 27 Oct 2017, 17:47
by cagatay.civici
Sorry, PrimeElements will be removed in upcoming PrimeUI 5.0 as we'll create a new suite of true web components based on StencilJS or Polymer.

Re: p-menuitem onclick not working

Posted: 30 Oct 2017, 14:28
by douglaspolisoftware
optimus.prime wrote:
27 Oct 2017, 17:47
Sorry, PrimeElements will be removed in upcoming PrimeUI 5.0 as we'll create a new suite of true web components based on StencilJS or Polymer.
PrimeUI 5.0 still use Jquery as a base?