Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
blockly > BlocklyOptions > toolbox
Podpis:
toolbox?: string | ToolboxDefinition | Element;
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-10-14 UTC.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2024-10-14 UTC."],[[["The `toolbox` property in `BlocklyOptions` defines the structure and content of the toolbox in a Blockly workspace."],["It accepts a toolbox definition in various formats: a string containing XML, a JavaScript object (`ToolboxDefinition`), or an HTML `Element`."],["This property is optional; if not specified, the workspace will not display a toolbox."]]],["The `toolbox` property within `BlocklyOptions` accepts three types of values: a `string`, a `ToolboxDefinition`, or an `Element`. This property defines the toolbox that will be used in the Blockly workspace. Users can specify the toolbox using a string to reference a predefined toolbox, create a custom toolbox using `ToolboxDefinition`, or directly provide an `Element` representing the toolbox.\n"]]