Documentation of Mouse Interaction is very incomplete, somehow confusing, and lacks examples
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- ドキュメント
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- javascript, jquery
調査の方向性
http://api.jqueryui.com/mouse/ のマウス操作 API ページから始め、_mouseCapture、_mouseStart、_mouseDrag、_mouseStop の各項目と、それらに既に存在する例を確認します。完了条件は、ウィジェット作成者がこれらの hooks をどのように実装するかを明確にし、イベント引数をドキュメント化し、呼び出しだけを示す例を有用な実装例またはリンク付きのデモセクションに置き換えることです。
索引モデルが issue の本文から書いたものです。
説明
http://api.jqueryui.com/mouse/
This part of the documentation needs serious improvement, and/or a corresponding dedicated section in Demos, which does not exist.
- (this applies to several methods but I take _mouseStart() as an example)
_mouseStart()Returns: jQuery (plugin only)
The extending widget should implement a _mouseStart() method to handle the beginning of an interaction
=> Explain how the widget author is supposed to implement this method. Because the obvious apparent meaning is that you are expected to implement it in this way:
$.widget("my.widget.name", {
//....
//....
_mouseStart: function() {
//my definition of the method. e.g.:
alert("Mouse interaction starting");
return this;
}
});
but that's not the case, as this way the method won't ever be called.
The same applies to all the other methods of this part of the api (_mouseCapture, _mouseStop, _mouseDrag...)
- The following can be seen in the documentation of most of these methods:
This method will receive the mouse event associated with the start of the interaction.
- This method does not accept any arguments.
There's an apparent contraddiction there.
- Code examples. The current code examples are completely useless. Most (or all) examples are like this:
Code examples:
Invoke the _mouseStart method:$( ".selector" ).mouse( "_mouseStart" );
That or no example at all is the same. A useful example would be an example implementation of the method, rather than an example of calling it which is something you wouldn't usually do.
- 主要言語
- HTML
- スター
- 73
- フォーク
- 75
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
jquery/api.jqueryui.com のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
jquery/api.jqueryui.com#361 · コメント 1 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 55/100
jquery/api.jqueryui.com#341 ·
-
Clip effect - default direction invalid対応中かも @RaphaelFakhri が 7 日前に担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 52/100
jquery/api.jqueryui.com#332 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
jquery/api.jqueryui.com#320 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
jquery/api.jqueryui.com#302 ·
jquery/api.jqueryui.com の issue をすべて見る
似ている issue
-
5-minutes algorithm all-levels any-language beginner-friendly community documentation easy first-timers-only good first issue hacktoberfest help wanted learning no-code-needed open-source python students
難易度 2/5 1時間未満 初心者へのやさしさ 88/100
Huerte/algo-solutions-python#253 ·
メンテナーはふだん 1 日以内に返信
-
size/s
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
sipyourdrink-ltd/bernstein#7179 ·
メンテナーはふだん 1 日以内に返信
-
area/docs
難易度 1/5 1時間未満 初心者へのやさしさ 86/100
meshery/meshery#23375 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Synthetic
難易度 1/5 1時間未満 初心者へのやさしさ 66/100
samtoth/agda-synthetic-categories#373 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 62/100
tanaabased/big-test-bucket#19952 ·
メンテナーはふだん 1 日以内に返信