meteor-elements is a set of Polymer elements to help developement of Meteor application using polymer for the client side rendering.
<dom-module id="my-app">
<template>
<meteor-subscribe name="allpeoples" isready="{{active}}"></meteor-subscribe>
<meteor-collection name="peoples" on-insert="onInsert">
<meteor-query query='{"age": 18}' options='{"sort": {"weight": -1}}'
enable="{{active}}" data="{{data}}"></meteor-query>
</meteor-collection>
<ul>
<template is="dom-repeat" items="{{data}}">
<li>{{item.name}}</li>
</template>
</ul>
</template>
</dom-module>
<script>
Polymer({
is: 'my-app',
onInsert: function(e) {
console.log("Inserted data with _id " + e.detail.id);
}
});
</script>
A meteor package call polymor is available.
A demo application is available on github.