todojquery's People
todojquery's Issues
Todoの削除
Todo list右のボタンで登録したTodoを削除できる
Todoの完了
Todo list 右のチェックボックスからTodoの完了/未達成の変更ができる
完了するとTodo名が灰色になり打ち消し線が引かれる
Todoの編集
登録したTodo名を編集できる
ダブルクリックで編集
フォーカスアウトで元に戻る
見た目の実装
ToDoサイトの見た目の実装
http://todomvc.com/examples/jquery/#/all を参照
Todos
<入力フォーム>
todo list
o all o active o completed
Todoの入力
入力フォームから入力したTodoが画面に反映される
ボタンではなくenterで登録
先に入力されたTodoが上に来るように配置
Todoの一括完了
入力フォーム左のボタンからTodo listの一括完了/未達成の変更ができる
Todo list側のボタンの押されてる数に応じてcheck/uncheckを入れ替える
Todoのフィルタリング
ラジオボタンを押すことで、表示するTodoを『すべて』『未達成』『達成済み』に切り替えれる
Todoの保存
Todoのデータを保存する。
完了、編集、削除に関しても、サイトを更新しても変更が保持されるようにする
完了したTodoの一括削除
ラジオボタン右のボタンから完了したTodoの一括削除ができる
Todoの入力 空白文字を入力した場合の処理
本物サイトでは
- 空白文字のみだと作成できない。
- 空白が先頭にある場合は詰める。
を行っている。
作成したサイトでは未実装
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.