From 60801822d1050e5165af0457543d8c1f58a303a5 Mon Sep 17 00:00:00 2001 From: cagataycivici Date: Wed, 22 May 2019 17:17:41 +0300 Subject: [PATCH] Doc refactor on ToggleButton --- src/views/togglebutton/ToggleButtonDoc.vue | 212 ++++++++++----------- 1 file changed, 106 insertions(+), 106 deletions(-) diff --git a/src/views/togglebutton/ToggleButtonDoc.vue b/src/views/togglebutton/ToggleButtonDoc.vue index 858376c2f..b1dd647bd 100644 --- a/src/views/togglebutton/ToggleButtonDoc.vue +++ b/src/views/togglebutton/ToggleButtonDoc.vue @@ -34,68 +34,68 @@ export default {
- - - - - - + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDefaultDescription
NameTypeDefaultDescription
valueanynullValue of the component.
onIconstringnullIcon for the on state.
offIconstringnullIcon for the off state.
onLabelstringyesLabel for the on state.
offLabelstringnoLabel for the off state.
inputIdstringnullIdentifier of the input element.
namestringnullName of the input element.
iconPosstringleftPosition of the icon, valid values are "left" and "right".
disabledbooleannullWhen present, it specifies that the element should be disabled.
valueanynullValue of the component.
onIconstringnullIcon for the on state.
offIconstringnullIcon for the off state.
onLabelstringyesLabel for the on state.
offLabelstringnoLabel for the off state.
inputIdstringnullIdentifier of the input element.
namestringnullName of the input element.
iconPosstringleftPosition of the icon, valid values are "left" and "right".
disabledbooleannullWhen present, it specifies that the element should be disabled.
@@ -104,38 +104,38 @@ export default {
- - - - - + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + +
NameParametersDescription
NameParametersDescription
changeevent: Browser eventCallback to invoke on value change.
inputevent: Value as the checked state.Callback to invoke on click.
clickevent: Browser eventCallback to invoke click.
focusevent: Browser eventCallback to invoke on focus.
blurevent: Browser eventCallback to invoke on blur.
changeevent: Browser eventCallback to invoke on value change.
inputevent: Value as the checked state.Callback to invoke on value change.
clickevent: Browser eventCallback to invoke on click.
focusevent: Browser eventCallback to invoke on focus.
blurevent: Browser eventCallback to invoke on blur.
@@ -145,24 +145,24 @@ export default {
- - - - + + + + - - - - - - - - - - - - + + + + + + + + + + + +
NameElement
NameElement
p-togglebuttonContainer element
p-button-icon-leftIcon element.
p-button-textLabel element.
p-togglebuttonContainer element
p-button-icon-leftIcon element.
p-button-textLabel element.