From 70905749ec8f60f0f2ec6d82af61578ea717b2bc Mon Sep 17 00:00:00 2001 From: dangen <23185799+dangen-effy@users.noreply.github.com> Date: Sun, 17 Nov 2019 17:11:19 +0900 Subject: [PATCH] Fix: change style.align value from undeclared identifier to string align: center => align: 'center' --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cddfcd3..4aee985 100644 --- a/README.md +++ b/README.md @@ -2406,7 +2406,7 @@ property to `true`, and then set `wordWrapWidth` to the maximum length in pixels, that the line of text should be. Use the `align` property to set the alignment for multi-line text. ```js -message.style = {wordWrap: true, wordWrapWidth: 100, align: center}; +message.style = {wordWrap: true, wordWrapWidth: 100, align: 'center'}; ``` (Note: `align` doesn't affect single line text.)