Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
blockly > Flyout > init
Metodo Flyout.init()
Inizializza il riquadro a comparsa.
Firma:
init(targetWorkspace: WorkspaceSvg): void;
Parametri
Parametro |
Tipo |
Descrizione |
targetWorkspace |
WorkspaceSvg |
L'area di lavoro in cui creare nuovi blocchi. |
Resi:
null
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 2025-07-25 UTC.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-07-25 UTC."],[[["The `Flyout.init()` method initializes a flyout, a UI element for selecting blocks in Blockly."],["It takes the target workspace as a parameter to determine where new blocks created from the flyout will be placed."],["This method prepares the flyout for interaction, but doesn't display it yet."]]],["The `Flyout.init()` method initializes a flyout, a component for creating new blocks. It takes one parameter: `targetWorkspace`, of type `WorkspaceSvg`. This parameter specifies the workspace where the new blocks will be created. The method does not return any value (void). Its core action is to set up the flyout to interact with the designated workspace.\n"]]