Stay organized with collections
Save and categorize content based on your preferences.
blockly > Events > BlockFieldIntermediateChange
Notifies listeners when the value of a block's field has changed but the change is not yet complete, and is expected to be followed by a block change event.
Signature:
export declare class BlockFieldIntermediateChange extends BlockBase
Extends: BlockBase
Constructors
Properties
Property |
Modifiers |
Type |
Description |
name? |
|
string |
(Optional) The name of the field that changed. |
newValue |
|
unknown |
The new value of the element. |
oldValue |
|
unknown |
The original value of the element. |
recordUndo |
|
boolean |
|
type |
|
EventType |
|
Methods
Method |
Modifiers |
Description |
isNull() |
|
Does this event record any change of state? |
run(forward) |
|
Run a change event. |
toJson() |
|
Encode the event as JSON. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-16 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-16 UTC."],[[["The `Events.BlockFieldIntermediateChange` class signals an in-progress change to a block field's value, preceding a final block change event."],["This event includes details like the field name, old value, and new value, facilitating the tracking of intermediate field modifications."],["`BlockFieldIntermediateChange` extends the `BlockBase` class and provides methods for checking event significance, executing changes, and JSON serialization."],["While it indicates a change, the `BlockFieldIntermediateChange` event does not necessarily record a permanent state change and might be followed by a finalizing event."]]],[]]