Dan Dascalescu / @dandv
Meteor Devshop SF 2015-Jan-29
(video of the talk)
<template name="leaderboard">
<ol class="leaderboard">
{{#each players}}
{{> player}}
{{/each}}
</ol>
</template>
<template name="player">
<li class="player {{selected}}">
<span class="name">{{name}}</span>
<span class="score">{{score}}</span>
</li>
</template>
// HTML
{{> reactiveTable
collection = players
rowsPerPage = 5
showFilter = true
fields = columns
...
}}
// JS
Players = new Mongo.Collection("players");
Template.leaderboard.helpers({
players: Players,
columns: ['name', 'score']
});
aslagle:reactive-table
*
Open Webix.com in a new tab...
...and be amazed
Demo admin app on the next slide
Dan Dascalescu / @dandv
2015-Jan-29