■ テキスト及び表現
| `# | `属性 | 説明 |
| 01 | visible | 要素の表示と非表示を切り替える |
| 02 | text | 要素の内容を設定できる |
| 03 | html | 設定値により、要素の子を設定できる |
| 04 | css | CSSを設定できる |
| 05 | style | style値を追加できる |
| 06 | attr | 属性値を設定できる |
関連記事
visiblehttp://blogs.yahoo.co.jp/dk521123/35665471.html
■ フロー制御
| `# | `属性 | 説明 |
| 01 | foreach | ループ処理 |
| 02 | if | 要素の子が表示されるかどうかを決定 |
| 03 | ifnot | 要素の子が非表示されるかどうかを決定 |
| 04 | with | 要素に子オブジェクトを表示する際に使用する |
参考文献
withhttp://kojs.sukobuto.com/docs/with-binding
関連記事
foreachhttp://blogs.yahoo.co.jp/dk521123/35665471.html
■ フォーム部品にバインド
| `# | `属性 | 説明 |
| 01 | click | クリックのハンドラー |
| 02 | event | 指定されたイベントのハンドラー |
| 03 | submit | フォームが送信時のハンドラー |
| 04 | enable | 活性を切り替える |
| 05 | disable | 非活性を切り替える |
| 06 | value | value値を設定。初期値を設定 |
| 07 | textInput | value値を設定。リアルタイムに値を反映 |
| 08 | hasfocus | フォーカスを当てる |
| 09 | checked | ラジオボタンやチェックボックスに対してバインディングするために使用 |
| 10 | option | select要素の配下のoptionの値を設定 |
| 11 | selectedOptions | 複数選択可能なselectの値を設定 |
参考文献
textInputhttp://blog.shibayan.jp/entry/20140819/1408375428
関連記事
enable / value / checked / option / selectedOptionshttp://blogs.yahoo.co.jp/dk521123/35665471.html
参考文献
http://kojs.sukobuto.com/docs/introductionhttp://www.adobe.com/jp/devnet/html5/articles/getting-started-with-knockoutjs.html