Stay organized with collections
Save and categorize content based on your preferences.
blockly > Procedures > IProcedureBlock
Procedures.IProcedureBlock interface
The interface for a block which models a procedure.
Signature:
export interface IProcedureBlock
Methods
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.
[[["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 2024-09-18 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eIProcedureBlock\u003c/code\u003e interface defines the structure for blocks representing procedures in Blockly.\u003c/p\u003e\n"],["\u003cp\u003eThis interface includes methods for updating procedures, retrieving the procedure model, and determining if a block is a procedure definition.\u003c/p\u003e\n"],["\u003cp\u003eMethods like \u003ccode\u003edoProcedureUpdate\u003c/code\u003e, \u003ccode\u003egetProcedureModel\u003c/code\u003e, and \u003ccode\u003eisProcedureDef\u003c/code\u003e are available for interaction with procedure blocks.\u003c/p\u003e\n"]]],["The `IProcedureBlock` interface defines a block that models a procedure. It includes three core methods: `doProcedureUpdate()`, which likely handles updates to the procedure; `getProcedureModel()`, which probably retrieves the procedure's underlying model; and `isProcedureDef()`, which is likely used to determine if the block defines a procedure. These methods provide the essential functionality for interacting with procedure blocks within the system.\n"],null,["[blockly](./blockly.md) \\\u003e [Procedures](./blockly.procedures_namespace.md) \\\u003e [IProcedureBlock](./blockly.procedures_namespace.iprocedureblock_interface.md)\n\nProcedures.IProcedureBlock interface\n------------------------------------\n\nThe interface for a block which models a procedure.\n\n**Signature:** \n\n export interface IProcedureBlock \n\nMethods\n-------\n\n| Method | Description |\n|------------------------------------------------------------------------------------------------------------------------|-------------|\n| [doProcedureUpdate()](./blockly.procedures_namespace.iprocedureblock_interface.doprocedureupdate_1_methodsignature.md) | |\n| [getProcedureModel()](./blockly.procedures_namespace.iprocedureblock_interface.getproceduremodel_1_methodsignature.md) | |\n| [isProcedureDef()](./blockly.procedures_namespace.iprocedureblock_interface.isproceduredef_1_methodsignature.md) | |"]]