ecwyne / meteor-polymer-elements

Add polymer-elements to Meteor project
https://atmospherejs.com/ecwyne/polymer-elements
59 stars 14 forks source link

how to do this ? #23

Open ramstein74 opened 9 years ago

ramstein74 commented 9 years ago

hello how can i do this using your package as i only have attrs core-menu on-core-select="{{selectAction}}"

like this {{#core_menu attrs=myobjectattrs}}

and in my js file

Template.mytemplate.helpers({ myobjectattrs: function(){ return { onCoreSelect!??!:?!?!?! } })

just dont know

also where do i code selectAction?

thank you

ecwyne commented 9 years ago

I'm not sure I understand your question.

Please see the wiki for info about event capturing

rohanray commented 9 years ago

I have the same as @ramstein74 basically how to handle events of core-menu and core-item in meteor js file