Code that runs when an object is fully loaded
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 20/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- javascript, jquery
- 領域
- frontend
調査の方向性
The issue names no repository files, tests, or entry points. Start by reproducing the dynamically inserted object and its jQuery load-listener setup, then define the expected completion behavior before identifying a suitable change and verification approach.
索引モデルが issue の本文から書いたものです。
説明
Let's say divSomeObject could be too large to fit in a rectangle that has been allocated for it.
It could have an image in it, so when the object is first created, we have no way of knowing whether or not the contents will fit in the box.
So let's have some code run when the object if fully loaded, using jQuery.
$(divSomeObject).on ("load", function () {
runSomeCode ();
});
But this isn't happening.
I've read all I can find on the web about this, but they seem to be concerned with objects that load when the page loads. There's no requirement that this happen at page-load time. Sometimes the objects appear dynamically while the app is running.
I've made sure the object is inserted in the DOM when we set up the listener for the "load" event.
Any suggestions welcome.
- 主要言語
- HTML
- スター
- 134
- フォーク
- 10
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
scripting/Scripting-News のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
scripting/Scripting-News#353 · コメント 6 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
scripting/Scripting-News#332 · コメント 25 件 · リアクション 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
scripting/Scripting-News#362 ·
-
Matt is moved aside オープン
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
scripting/Scripting-News#361 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
scripting/Scripting-News#360 · コメント 1 件 · リアクション 1 件 ·
scripting/Scripting-News の issue をすべて見る
似ている issue
-
bug confirmed issue
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
open-webui/open-webui#30750 · コメント 1 件 ·
-
T: Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
[Super Editor][Chat] - Floating editor scaffold does not reset panel height after closing panel オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
OpenwaterHealth/openmotion-bloodflow-app#604 · コメント 1 件 ·