diff --git a/src/components/togglebutton/ToggleButton.vue b/src/components/togglebutton/ToggleButton.vue index 214e733d9..5c47787d3 100644 --- a/src/components/togglebutton/ToggleButton.vue +++ b/src/components/togglebutton/ToggleButton.vue @@ -13,10 +13,10 @@ export default { props: { value: Boolean, + onIcon: String, + offIcon: String, onLabel: String, offLabel: String, - onIcon: String, - offIcon: String, inputId: String, name: String, iconPos: { diff --git a/src/views/togglebutton/ToggleButtonDemo.vue b/src/views/togglebutton/ToggleButtonDemo.vue index 6b3fd08c1..9d28e7b1b 100644 --- a/src/views/togglebutton/ToggleButtonDemo.vue +++ b/src/views/togglebutton/ToggleButtonDemo.vue @@ -16,16 +16,23 @@

{{checked2}}

+ + diff --git a/src/views/togglebutton/ToggleButtonDoc.vue b/src/views/togglebutton/ToggleButtonDoc.vue new file mode 100644 index 000000000..858376c2f --- /dev/null +++ b/src/views/togglebutton/ToggleButtonDoc.vue @@ -0,0 +1,216 @@ + \ No newline at end of file