コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
ブロックする >イベント >BlockChange >(コンストラクタ)
Events.BlockChange.(constructor)
BlockChange
クラスの新しいインスタンスを作成します。
署名:
constructor(opt_block?: Block, opt_element?: string, opt_name?: string | null, opt_oldValue?: unknown, opt_newValue?: unknown);
パラメータ
パラメータ |
型 |
説明 |
opt_block |
ブロック |
(省略可)変更されたブロック。空のイベントの場合は未定義。 |
opt_element |
文字列 |
(省略可)「field」、「comment」、「disabled」などのいずれか。 |
opt_name |
文字列 |null |
(省略可)影響を受ける入力またはフィールドの名前、または null。 |
opt_oldValue |
不明 |
(省略可)要素の前の値。 |
opt_newValue |
不明 |
(省略可)要素の新しい値。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-07-25 UTC。"],[],["The `BlockChange` class constructor creates a new instance to track changes within a block. It accepts optional parameters defining the affected block, the specific element changed (e.g., 'field', 'comment'), the element's name, the old value, and the new value. The block parameter specifies which block changed, while element and name identify what part of that block was modified. `opt_oldValue` and `opt_newValue` store the previous and current values.\n"]]