Stay organized with collections
Save and categorize content based on your preferences.
blockly > blockRendering > PathObject > updateInsertionMarker
blockRendering.PathObject.updateInsertionMarker() method
Add or remove styling showing that a block is an insertion marker.
Signature:
updateInsertionMarker(enable: boolean): void;
Parameters
Parameter |
Type |
Description |
enable |
boolean |
True if the block is an insertion marker, false otherwise. |
Returns:
void
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\u003eupdateInsertionMarker\u003c/code\u003e method modifies the visual style of a block to indicate whether it's an insertion marker.\u003c/p\u003e\n"],["\u003cp\u003eIt takes a boolean argument, \u003ccode\u003eenable\u003c/code\u003e, which determines if the insertion marker styling should be applied or removed.\u003c/p\u003e\n"],["\u003cp\u003eThis method is part of the \u003ccode\u003ePathObject\u003c/code\u003e class within the \u003ccode\u003eblockRendering\u003c/code\u003e namespace in Blockly.\u003c/p\u003e\n"]]],[],null,[]]