Created
October 4, 2017 17:16
-
-
Save robdodson/9b87aac9199cf6e42cfd903f969aa9aa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class CustomSlider extends HTMLElement { | |
constructor() { | |
super(); | |
this.accessibleNode.role = 'slider'; | |
this.accessibleNode.valueMin = 0; | |
this.accessibleNode.valueMax = 5; | |
this.accessibleNode.valueNow = 3; | |
this.accessibleNode.valueText = 3; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment