From 6b3b8a59c7408cb1db343f195aa6ba4a8cd21bda Mon Sep 17 00:00:00 2001 From: Andrew MacKenzie Date: Sun, 29 Nov 2015 20:18:21 -0500 Subject: [PATCH] small correction in binding class example --- src/guide/class-and-style.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/guide/class-and-style.md b/src/guide/class-and-style.md index 44fc7685e7..50175e9fff 100644 --- a/src/guide/class-and-style.md +++ b/src/guide/class-and-style.md @@ -30,7 +30,7 @@ Which will render:
``` -When `isA` and `isB` changes, the class list will be updated accordingly. For example, if `isB` becomes `true`, the class list will become `"class-a class-b"`. +When `isA` and `isB` changes, the class list will be updated accordingly. For example, if `isB` becomes `true`, the class list will become `"static class-a class-b"`. And you can directly bind to an object in data as well: