Bitbybit Docs
    Preparing search index...

    Class TextPadDto (Inputs.Text)

    Un texte, une longueur et un remplissage pour text.padStart et text.padEnd.

    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • Optionaltext: string
      • Optionallength: number
      • OptionalpadString: string

      Returns TextPadDto

    Properties

    text: string

    Le texte à allonger.

    x
    
    length: number

    La longueur à atteindre ; un texte déjà aussi long reste tel quel.

    3
    

    0

    Infinity

    1

    padString: string

    Le remplissage répété jusqu'à atteindre la longueur ; la dernière répétition est tronquée si nécessaire.

    a