javascript-tutorial / javascript-tutorial/en.javascript.info
Include example HTML5 Drag and Drop API
まだ誰も着手していません。
- 主要言語
- HTML
- スター
- 25.5k
- フォーク
- 4k
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
There is a chapter called “Drag'n'Drop with mouse events”, and it makes a passing reference to the Drag and Drop API. There are plenty of cases where it’s appropriate to choose this approach.
However, I think there also needs to be a “Drag'n'Drop with the API” chapter.
I’ve been using the DND API on a learning project. Although I got over the strange hurdle of learning which events apply to draggable items and which events apply to drop zones, I’m at a point where I am really missing the awesome guidance I can find on most other topics in your excellent work.
For the purpose of inspiration in creating such a chapter (or for anyone else reading this), one tutorial I found helpful helpful is this video (which includes the basics of the DND API, and implements a list-sorting feature):
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
https://javascript.info/mouse-drag-and-drop にある既存の「Drag'n'Drop with mouse events」章を読み、HTML5 Drag and Drop API の説明範囲を確認するため、参照されているチュートリアル動画を確認してください。draggable-item と drop-zone のイベントを含む API の説明と、いつ使用すべきかについての実践的な指針を盛り込んだ新しい章を追加すれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- html, javascript
- 領域
- documentation, web-dev
- issue の種類
- ドキュメント
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 25/100