From 7608d166ba61c3220d0358a9e76af17af63510cf Mon Sep 17 00:00:00 2001 From: cagataycivici Date: Wed, 22 May 2019 17:14:40 +0300 Subject: [PATCH] Doc refactor for Spinner --- src/views/spinner/SpinnerDoc.vue | 126 +++++++++++++------------------ 1 file changed, 52 insertions(+), 74 deletions(-) diff --git a/src/views/spinner/SpinnerDoc.vue b/src/views/spinner/SpinnerDoc.vue index 26ef026c7..46917c0a5 100644 --- a/src/views/spinner/SpinnerDoc.vue +++ b/src/views/spinner/SpinnerDoc.vue @@ -26,98 +26,76 @@ import Spinner from 'primevue/spinner';

Properties

+

Any valid attribute such as name and placeholder are passed to the underlying input element. Following are the additional properties to configure the component.

- - - - - - + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDefaultDescription
NameTypeDefaultDescription
valuestringnullValue of the component.
stepnumber1Step factor to increment/decrement the value.
minnumbernullMininum boundary value.
maxnumbernullMaximum boundary value.
disabledbooleanfalseWhen present, it specifies that the element should be disabled.
valuenumbernullValue of the component.
stepnumber1Step factor to increment/decrement the value.
minnumbernullMininum boundary value.
maxnumbernullMaximum boundary value.

Events

-
- - - - - - - - - - - - - - - -
NameParametersDescription
inputevent: New valueCallback to invoke on value change.
-
+

Any valid event such as focus, blur and input are passed to the underlying input element. Following are the additional events to configure the component.

Styling

Following is the list of structural style classes, for theming classes visit theming page.

- - - - + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + +
NameElement
NameElement
p-spinnerContainer element
p-spinner-upUp icon.
p-spinner-downDown icon.
p-spinner-inputInput element
p-spinnerContainer element
p-spinner-upUp icon.
p-spinner-downDown icon.
p-spinner-inputInput element