Skip to content

Commit 4103604

Browse files
committed
Update readme
1 parent aa1cbde commit 4103604

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,11 @@ let message = "Are you sure?";
7373
let options = {
7474
html: false, // set to true if your message contains HTML tags. eg: "Delete <b>Foo</b> ?"
7575
loader: false, // set to true if you want the dailog to show a loader after click on "proceed"
76-
type: 'simple', // coming soon: 'soft', 'hard'
76+
reverse: false, // switch the button positions (left to right, and vise versa)
77+
okText: 'Continue',
78+
cancelText: 'Close',
79+
animation: 'zoom', // Available: "zoom", "bounce", "fade"
80+
type: 'basic', // coming soon: 'soft', 'hard'
7781
verification: 'continue', // for hard confirm, user will be prompted to type this to enable the proceed button
7882
clicks: 3, // for soft confirm, user will be asked to click on "proceed" btn 3 times before actually proceeding
7983
};

src/plugin/js/constants.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ export const DEFAULT_OPTIONS = {
2929
message : "Proceed with the request?",
3030
helpText : "Click the proceed button to continue",
3131
clickCount : 3,
32-
animation : 'zoomIn',
32+
animation : 'zoom',
3333
verification : 'continue'
3434
}

0 commit comments

Comments
 (0)