Méthode Block.toString()
Créez une représentation textuelle lisible de ce bloc et des enfants.
Signature :
toString(opt_maxLength?: number, opt_emptyToken?: string): string;
Paramètres
Paramètres | Type | Description |
---|---|---|
opt_maxLength | number | (Facultatif) Tronquez la chaîne à cette longueur. |
opt_emptyToken | chaîne | (Facultatif) Chaîne d'espace réservé utilisée pour indiquer une entrée vide. S'il n'est pas spécifié, "?" est utilisé. |
Renvoie :
chaîne
Texte du bloc.