blockly > sérialisation > blocs > État > disabledReasons
Propriété serialization.blocks.State.disableReasons
Signature :
disabledReasons?: string[];
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2024/10/15 (UTC).
[null,null,["Dernière mise à jour le 2024/10/15 (UTC)."],[[["`disabledReasons` is an optional property within the `State` interface used for block serialization."],["It stores an array of strings, each representing a reason why the block is disabled."],["This property helps in understanding and recreating the disabled state of a block during deserialization."]]],["The `disabledReasons` property, part of the `State` interface within the `serialization.blocks` namespace, is defined as an optional array of strings. This array, when present, holds the reasons why a block is disabled. It is designed to store multiple string-based explanations for the disabled status of a block. The property itself can either be present, or not.\n"]]