From 16c24f7de15b02103ca2c73c462748cace6f4175 Mon Sep 17 00:00:00 2001 From: uglyeoin Date: Sat, 22 Feb 2020 14:06:32 +0000 Subject: [PATCH 1/2] Add mode vertical to the options It took a little while to work out how to do mode vertical. I tried vertical: true initially. Then horizontal. Just adding it to the docs for the next person. --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 95881dd..687c291 100644 --- a/README.md +++ b/README.md @@ -90,7 +90,8 @@ slider = new juxtapose.JXSlider('#foo', showLabels: true, showCredits: true, startingPosition: "50%", - makeResponsive: true + makeResponsive: true, + mode: vertical }); ``` From 58c76ddb9f51a7e9bdb156ae00792ed91f28ddba Mon Sep 17 00:00:00 2001 From: uglyeoin Date: Sat, 22 Feb 2020 14:15:08 +0000 Subject: [PATCH 2/2] Add quotes Forgot quotes which will make sure it doesn't work. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 687c291..4f1a3aa 100644 --- a/README.md +++ b/README.md @@ -91,7 +91,7 @@ slider = new juxtapose.JXSlider('#foo', showCredits: true, startingPosition: "50%", makeResponsive: true, - mode: vertical + mode: "vertical" }); ```