blockly > Engelle > saveExtraState
Blokun ekstra durumunun (ör. mutasyon durumu) JSON uyumlu bir şekilde nasıl serileştirileceğini tanımlamak için kullanılan isteğe bağlı bir serileştirme yöntemi. Bu, loadExtraState
tanımlayıcısıyla birlikte kullanılmalıdır.
İmza:
saveExtraState?: (doFullSerialization?: boolean) => any;
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2024-09-10 UTC.
[null,null,["Son güncelleme tarihi: 2024-09-10 UTC."],[[["The `ASTNode.createConnectionNode()` method creates an AST node that references a specific connection within a Blockly workspace."],["If the target connection is part of a parent input, the method generates an input-type AST node to encapsulate the connection."],["The method accepts a `Connection` object as input, which designates the connection the node will point to."],["It returns either an `ASTNode` object representing the connection or `null` if node creation is unsuccessful."]]],[]]