mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
List updates and directives with it!
This commit is contained in:
@@ -119,9 +119,10 @@
|
||||
<form ng-submit="addTask(newTask)">
|
||||
<input type="text" ng-model="newTask.title" placeholder="Add an item...">
|
||||
</form>
|
||||
<list>
|
||||
<list id="task-list">
|
||||
<li class="list-item" ng-repeat="task in activeProject.tasks" ng-class="{completed: task.isCompleted}">
|
||||
{{task.title}}
|
||||
<input type="checkbox" ng-model="task.isCompleted"> {{task.title}}
|
||||
<input type="text" ng-model="task.title">
|
||||
</li>
|
||||
</list>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user