blockly > serialization > priorities
serialization.priorities namespace
Variables
Variable |
Description |
BLOCKS |
The priority for deserializing blocks. |
PROCEDURES |
The priority for deserializing variable data. |
VARIABLES |
The priority for deserializing variables. |
WORKSPACE_COMMENTS |
The priority for deserializing workspace comments. |
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 2024-09-18 UTC.
[null,null,["Last updated 2024-09-18 UTC."],[[["The `serialization.priorities` namespace in Blockly manages the order in which different workspace elements like blocks, variables, procedures, and workspace comments are deserialized."],["This namespace provides specific variables, namely `BLOCKS`, `PROCEDURES`, `VARIABLES`, and `WORKSPACE_COMMENTS`, each representing the priority for deserializing their respective element types."],["By assigning priorities, Blockly ensures that essential workspace components are loaded in a specific order during deserialization, maintaining workspace integrity."]]],[]]