meteor-polymer icon indicating copy to clipboard operation
meteor-polymer copied to clipboard

Example project

Open marcodejongh opened this issue 10 years ago • 11 comments

Hi,

Do you have a example project or would you like to share one?

marcodejongh avatar Aug 08 '14 12:08 marcodejongh

I would love to see an example too. I'm struggling with event binding atm. Should I use Template.element.events for that or a more jQuery approach?

jasperkennis avatar Sep 07 '14 08:09 jasperkennis

+1 for an example of better integrating both worlds

dotnetwise avatar Oct 04 '14 13:10 dotnetwise

+1

akuckartz avatar Oct 04 '14 15:10 akuckartz

+1

ccorcos avatar Nov 11 '14 22:11 ccorcos

https://github.com/ecwyne/meteor-polymer-16

Here's an extremely basic example.

ecwyne avatar Nov 11 '14 23:11 ecwyne

I see. you can't do those head import through the package?

ccorcos avatar Nov 12 '14 09:11 ccorcos

The polymer platform is imported for you, but you don't want the package to import all of the components for you. You want control over which ones are loaded on the client. You only want to send what you need to over the wire.

See https://github.com/ecwyne/meteor-polymer/blob/master/import.html

ecwyne avatar Nov 12 '14 16:11 ecwyne

+1 on @jasperkennis question. @marcodejongh how should be done the event binding in a Meteor app?

grigio avatar Nov 18 '14 10:11 grigio

Hi all check out this little test project I made: It could be a nice example? I added famous.js too... because overkill but awesome.

https://github.com/theprojectabot/polymer-meteor-famous-views/tree/master

theprojectabot avatar Dec 05 '14 00:12 theprojectabot

@grigio whatsup with the event binding? I just used the normal Template.foobar.events for my POC: https://github.com/marcodejongh/polymer-meteor/blob/MOAR_REACTIVITY/client/pages/social.js#L26

marcodejongh avatar Dec 05 '14 09:12 marcodejongh

+1

mjkaufer avatar Jul 15 '15 17:07 mjkaufer