blockly > blockRendering > RenderInfo > shouldStartNewRow_
Méthode blockRendering.RenderInfo.shouldStartNewRow_()
Décidez si vous souhaitez créer une nouvelle ligne entre les deux blocs Blockly.Inputs.
Signature :
protected shouldStartNewRow_(currInput: Input, prevInput?: Input): boolean;
Paramètres
Paramètre | Type | Description |
---|---|---|
currInput | Entrée | Entrée actuelle. |
prevInput | Entrée | (Facultatif) Entrée précédente. |
Renvoie :
booléen
"True" si l'entrée actuelle doit être affichée sur une nouvelle ligne.