blockly > blockRendering > RenderInfo > shouldStartNewRow_

Méthode blockRendering.RenderInfo.shouldStartNewRow_()

Décidez ou non de créer une ligne entre les deux Blockly.Inputs.

Signature :

protected shouldStartNewRow_(currInput: Input, prevInput?: Input): boolean;

Paramètres

Paramètres Type Description
currInput Entrée Entrée actuelle.
prevInput Entrée (Facultatif) Entrée précédente.

Renvoie :

boolean

"True" si l'entrée actuelle doit s'afficher sur une nouvelle ligne.