Create a gist now

Instantly share code, notes, and snippets.

Value converter todo - 1
<template>
<div class="container">
<h1>todo list</h1>
<hr/>
<table class="table table-striped table-bordered">
<thead>
<tr>
<th>Id</th>
<th>Text</th>
<th>Created At</th>
<th>Complete?</th>
</tr>
</thead>
<tbody>
<tr repeat.for="todoItem of todoItems">
<td>${todoItem.id}</td>
<td>${todoItem.text}</td>
<td>${todoItem.created_at}</td>
<td>${todoItem.is_complete}</td>
</tr>
</tbody>
</table>
</div>
</template>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment