From e6d4bdbe8a1b629538188f43eb69745c5532768d Mon Sep 17 00:00:00 2001 From: Ian Schmitz Date: Wed, 21 Dec 2016 18:48:49 -0800 Subject: [PATCH] Update README.md BackgroundColor and Position examples updated to reflect updated showcase() API --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7f5eb25..4a9f7c0 100644 --- a/README.md +++ b/README.md @@ -101,7 +101,7 @@ BackgroundColor (defaults to dark gray): Example: ```js -Showcaser.showcase(element, "I'm green!", { +Showcaser.showcase("I'm green!", element, { backgroundColor: { r: 0, g: 132, @@ -123,7 +123,7 @@ Position: Example ```js -Showcaser.showcase(element, "I'm on the left!", { +Showcaser.showcase("I'm on the left!", element, { position: { horizontal: "left", vertical: "middle"