Crestron Components Lib - Showcase App

ch5-slider: toolTipDisplayType

ch5-slider toolTipDisplayType

The default value is 'percent'.  Sets what is displayed in the optional tooltip.  Valid values: 

  • "%" - The value is displayed as a percent.  Math.round((100*(v-min))/(max - min))
  • "value" - The 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>