[null,null,["上次更新時間:2023-12-01 (世界標準時間)。"],[[["Blockly's Connection Checker enforces connection compatibility using three checks: safety, type, and drag."],["Safety checks prevent illogical block connections to maintain Blockly's stability."],["Type checks utilize connection type information to enforce a type system, ensuring compatibility."],["Drag checks limit connection options during drag-and-drop interactions for a smoother user experience."],["Developers can customize type and drag checks (and, with caution, safety checks) by implementing the `IConnectionChecker` interface."]]],["Blockly uses a Connection Checker to ensure syntactically correct code and enforce connection rules. It performs safety checks to prevent bad states and nonsensical connections, type checks to enforce a type system, and drag checks for connections made by dragging. Developers can override these checks by implementing the `IConnectionChecker` interface and overriding `doSafetyChecks`, `doTypeChecks`, and `doDragChecks`. A custom checker example is provided in the strict connection checker plugin.\n"]]