透過集合功能整理內容
你可以依據偏好儲存及分類內容。
封鎖 >事件 >BlockChange >(建構函式)
Events.BlockChange.(constructor)
建構 BlockChange
類別的新例項
Signature:
constructor(opt_block?: Block, opt_element?: string, opt_name?: string | null, opt_oldValue?: unknown, opt_newValue?: unknown);
參數
參數 |
類型 |
說明 |
opt_block |
封鎖 |
(選用) 已變更的封鎖條件。未定義空白事件。 |
opt_element |
字串 |
(選填) 可以是「欄位」、「註解」或「已停用」等。 |
opt_name |
字串 |空值 |
(選填) 受影響的輸入欄位或欄位名稱,或是空值。 |
opt_oldValue |
不明 |
(選用) 先前的元素值。 |
opt_newValue |
不明 |
(選用) 元素的新值。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[[["容易理解","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 (世界標準時間)。"],[],["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"]]