- $htmlName: Name of the html image input element.
- $off_img: Name and path of image to be displayed if its state is "off"
- $on_img: Name and path of image to be displayed it its state is "on"
- $off_text: Text to be displayed if state is "off"
- $on_text: Text to be displayed if state is "on"
- $separator: Anything which shall be displayed between the picture (clickable) and the text (not clickable)
- $default: State of the image input element on first load of page ("on" or "off")
- $outState: Current state of element (true for "on" or false for "off").
- true, if the button was clicked otherwise false.
root
2019-07-18