(element)
| 1907 | * @param {HTMLElement} element The element that will be upgraded. |
| 1908 | */ |
| 1909 | var MaterialSlider = function MaterialSlider(element) { |
| 1910 | this.element_ = element; |
| 1911 | // Browser feature detection. |
| 1912 | this.isIE_ = window.navigator.msPointerEnabled; |
| 1913 | // Initialize instance. |
| 1914 | this.init(); |
| 1915 | }; |
| 1916 | window['MaterialSlider'] = MaterialSlider; |
| 1917 | /** |
| 1918 | * Store constants in one place so they can be updated easily. |