blockly > BlocklyOptions > suoni
Proprietà BlocklyOptions.sounds
Firma:
sounds?: boolean;
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2024-10-14 UTC.
[null,null,["Ultimo aggiornamento 2024-10-14 UTC."],[[["This property dictates whether sounds should be enabled in Blockly."],["If true or undefined, sounds will play, but if explicitly set to false, sounds will be disabled."]]],["The `sounds` property, part of the `BlocklyOptions` interface within the Blockly library, is a boolean. This property determines whether sound effects are enabled or disabled within the Blockly environment. If set to `true`, sound effects will play; if `false`, they will be muted. It's an optional setting, indicated by the question mark in the signature.\n"]]