From 10adf63b04ab4569cf51ef7507eb35c0e96e7761 Mon Sep 17 00:00:00 2001 From: Yaroslav Savaryn Date: Fri, 24 Jul 2020 16:38:05 +0300 Subject: [PATCH] added docs --- README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4748c56..453b26a 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,10 @@ Vue.use(VuetifyConfirm, { vuetify, buttonTrueText: 'Accept', buttonFalseText: 'Discard', + buttonTrueColor: 'primary', + buttonFalseColor: 'grey', + buttonTrueFlat: false, + buttonFalseFlat: true, color: 'warning', icon: 'warning', title: 'Warning', @@ -66,8 +70,12 @@ property: '$confirm' will create property with this name in Vue prototype ## Params - message: String, required - options: Object - - buttonTrueText: String - - buttonFalseText: String + - buttonTrueText: String, default: 'Yes' + - buttonFalseText: String, default: 'No' + - buttonTrueColor: String, default: 'primary' + - buttonFalseColor: String, default: 'grey' + - buttonTrueFlat: Boolean, default: true + - buttonFalseFlat: Boolean, default: true - color: String - icon: String - title: String