From 92b44a2481ff330a28dfdfe87de75745609913d8 Mon Sep 17 00:00:00 2001 From: Marcos Moura Date: Sun, 27 Nov 2016 23:58:25 -0200 Subject: [PATCH] create switch documentation with the new template --- docs/src/pages/components/Radio.vue | 10 +- docs/src/pages/components/Switch.vue | 218 ++++++++++++++++----------- 2 files changed, 136 insertions(+), 92 deletions(-) diff --git a/docs/src/pages/components/Radio.vue b/docs/src/pages/components/Radio.vue index 7a33cb5..119a263 100644 --- a/docs/src/pages/components/Radio.vue +++ b/docs/src/pages/components/Radio.vue @@ -37,19 +37,19 @@ name String - Set the checkbox name. + Set the radio name. id String - Set the checkbox id. + Set the radio id. disabled Boolean - Disable the checkbox and prevent his actions. Default false + Disable the radio and prevent his actions. Default false @@ -66,8 +66,8 @@ change - Receive the state of the checkbox - Triggered when the checkbox changes his value. + Receive the state of the radio + Triggered when the radio changes his value. diff --git a/docs/src/pages/components/Switch.vue b/docs/src/pages/components/Switch.vue index 22bfe83..0d92631 100644 --- a/docs/src/pages/components/Switch.vue +++ b/docs/src/pages/components/Switch.vue @@ -1,112 +1,156 @@ + +