Crestron Components Lib - Showcase App

ch5-slider: toolTipDisplayType

ch5-slider toolTipDisplayType

Default: percent.  Option of what is displayed in the tooltip.  Valid values are: 

  • "%" - displayed as percent.  Math.round((100*(v-min))/(max - min))
  • "value" - actual value provided

toolTipDisplayType %

toolTipDisplayType value

<p>toolTipDisplayType %</p>

<ch5-slider 
    toolTipShowType="on"
    >
</ch5-slider>

<p>toolTipDisplayType value</p>

<ch5-slider 
    toolTipShowType="on"
    toolTipDisplayType="value"
    >
</ch5-slider>