blockly > WorkspaceSvg > createDom

Methode „WorkspaceSvg.createDom()“

Erstellen Sie die DOM-Elemente des Arbeitsbereichs.

Unterschrift:

createDom(opt_backgroundClass?: string, injectionDiv?: HTMLElement): Element;

Parameter

Parameter Typ Beschreibung
opt_backgroundClass String Optional: Entweder „blocklyMainBackground“ oder „blocklyMutatorBackground“.
injectionDiv HTMLElement (Optional)

Gibt zurück:

Element

Die SVG-Gruppe des Arbeitsbereichs.