Crestron Components Lib - Showcase App

ch5-textinput: scaling attribute

A usage of the scaling attribute:
Result: When a certain amount of text is entered in the input below, the font size decreases.
<ch5-textinput
  placeholder="Firstname"
  size="x-large"
  scaling
></ch5-textinput>
A usage of the minimumFontSize attribute: Result: This will work only if scaling attribute is set.
<ch5-textinput
  placeholder="Firstname"
  size="x-large"
  scaling
  minimumFontSize="15"
></ch5-textinput>