Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <template>
- ...
- <tbody>
- <tr repeat.for="todoItem of todoItems">
- <td>${todoItem.id}</td>
- <td><span class="${todoItem.is_complete ? 'completed-task' : 'incomplete-task'}"> ${todoItem.text} </span></td>
- <td>${todoItem.created_at | dateFormat}</td>
- <td><input type="checkbox"checked.bind="todoItem.is_complete"></input></td>
- </tr>
- </tbody>
- </table>
- ...
- </template>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement