chore(range): add range-knob-min/max css class

This commit is contained in:
Adam Bradley
2016-06-01 20:26:56 -05:00
parent 47174dfdaa
commit 057b526612

View File

@ -20,6 +20,8 @@ const RANGE_VALUE_ACCESSOR = new Provider(
'<div class="range-knob"></div>', '<div class="range-knob"></div>',
host: { host: {
'[class.range-knob-pressed]': 'pressed', '[class.range-knob-pressed]': 'pressed',
'[class.range-knob-min]': '_val===range.min',
'[class.range-knob-max]': '_val===range.max',
'[style.left]': '_x', '[style.left]': '_x',
'[style.top]': '_y', '[style.top]': '_y',
'[style.transform]': '_trns', '[style.transform]': '_trns',