-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Create TodoItems.vue * Update TodoItems.vue * Update Todos.vue
- Loading branch information
1 parent
42e2df6
commit b5d6a59
Showing
2 changed files
with
39 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<template> | ||
<div> | ||
<p>To do Item</p> | ||
</div> | ||
</template> | ||
<script> | ||
export default { | ||
name: "Todo Items", | ||
props: ["todo"] | ||
} | ||
</script> | ||
|
||
<style scoped> | ||
.todo-item { | ||
background-color: antiquewhite; | ||
padding: 10px; | ||
border-bottom: 1px #ccc dotted; | ||
} | ||
.is-complete { | ||
text-decoration: line-through; | ||
} | ||
.del { | ||
background-color: coral; | ||
color: #fff; | ||
border: none; | ||
padding: 5px 9px; | ||
border-radius: 50%; | ||
cursor: pointer; | ||
float: right; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters