From 67b49e80bb08906ecfac8bf00b82a7c14e9c82ac Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Tue, 5 Dec 2023 16:17:22 +0300 Subject: [PATCH] Update PTDoc.vue --- doc/inputnumber/pt/PTDoc.vue | 64 +++++++++++++++++++++++++++++++----- 1 file changed, 56 insertions(+), 8 deletions(-) diff --git a/doc/inputnumber/pt/PTDoc.vue b/doc/inputnumber/pt/PTDoc.vue index c346f6bd8..cde885f3f 100644 --- a/doc/inputnumber/pt/PTDoc.vue +++ b/doc/inputnumber/pt/PTDoc.vue @@ -11,8 +11,20 @@ mode="currency" currency="EUR" :pt="{ - incrementButton: { class: 'bg-teal-500 border-teal-500' }, - decrementButton: { class: 'bg-orange-500 border-orange-500' } + decrementButton: { + root: () => { + return { + class: 'bg-orange-500 border-orange-500' + }; + } + }, + incrementButton: { + root: () => { + return { + class: 'bg-teal-500 border-teal-500' + }; + } + } }" /> @@ -36,8 +48,20 @@ export default { mode="currency" currency="EUR" :pt="{ - incrementButton: { class: 'bg-teal-500 border-teal-500' }, - decrementButton: { class: 'bg-orange-500 border-orange-500' } + decrementButton: { + root: () => { + return { + class: 'bg-orange-500 border-orange-500' + }; + } + }, + incrementButton: { + root: () => { + return { + class: 'bg-teal-500 border-teal-500' + }; + } + } }" /> `, @@ -54,8 +78,20 @@ export default { mode="currency" currency="EUR" :pt="{ - incrementButton: { class: 'bg-teal-500 border-teal-500' }, - decrementButton: { class: 'bg-orange-500 border-orange-500' } + decrementButton: { + root: () => { + return { + class: 'bg-orange-500 border-orange-500' + }; + } + }, + incrementButton: { + root: () => { + return { + class: 'bg-teal-500 border-teal-500' + }; + } + } }" /> @@ -84,8 +120,20 @@ export default { mode="currency" currency="EUR" :pt="{ - incrementButton: { class: 'bg-teal-500 border-teal-500' }, - decrementButton: { class: 'bg-orange-500 border-orange-500' } + decrementButton: { + root: () => { + return { + class: 'bg-orange-500 border-orange-500' + }; + } + }, + incrementButton: { + root: () => { + return { + class: 'bg-teal-500 border-teal-500' + }; + } + } }" />