Bitbybit Docs
    Preparing search index...

    Class TextPadDto (Inputs.Text)

    A text, a length and a filler for text.padStart and text.padEnd.

    Index

    Constructors

    Properties

    Constructors

    • Parameters

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

      Returns TextPadDto

    Properties

    text: string

    The text to lengthen.

    x
    
    length: number

    The length to reach; a text already that long stays as it is.

    3
    

    0

    Infinity

    1

    padString: string

    The filler repeated until the length is reached; the last repeat is cut short if needed.

    a