From ef96be3878c240d6b4635ec47533d0a14316e29b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Merve=20=C3=96z=C3=A7if=C3=A7i?= Date: Mon, 25 Mar 2019 14:45:37 +0300 Subject: [PATCH] InputSwitch doc added --- src/components/inputswitch/InputSwitch.vue | 2 +- src/views/inputswitch/InputSwitchDemo.vue | 7 + src/views/inputswitch/InputSwitchDoc.vue | 191 +++++++++++++++++++++ 3 files changed, 199 insertions(+), 1 deletion(-) create mode 100644 src/views/inputswitch/InputSwitchDoc.vue diff --git a/src/components/inputswitch/InputSwitch.vue b/src/components/inputswitch/InputSwitch.vue index e8db100b1..0cd798e4c 100644 --- a/src/components/inputswitch/InputSwitch.vue +++ b/src/components/inputswitch/InputSwitch.vue @@ -34,7 +34,7 @@ export default { this.focused = true; this.$emit('focus', event); }, - onBlur() { + onBlur(event) { this.focused = false; this.$emit('blur', event); } diff --git a/src/views/inputswitch/InputSwitchDemo.vue b/src/views/inputswitch/InputSwitchDemo.vue index bfc52e444..872cb7123 100644 --- a/src/views/inputswitch/InputSwitchDemo.vue +++ b/src/views/inputswitch/InputSwitchDemo.vue @@ -16,16 +16,23 @@

{{checked2}}

+ + diff --git a/src/views/inputswitch/InputSwitchDoc.vue b/src/views/inputswitch/InputSwitchDoc.vue new file mode 100644 index 000000000..7c879b655 --- /dev/null +++ b/src/views/inputswitch/InputSwitchDoc.vue @@ -0,0 +1,191 @@ + \ No newline at end of file