Skip to content

Commit 4fe2462

Browse files
Update template-syntax.md (#2862) (#2090)
Add style attribute in Dynamically Binding Multiple Attributes Co-authored-by: Muhammad Zeeshan Latif <[email protected]>
1 parent 8445da0 commit 4fe2462

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/guide/essentials/template-syntax.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,8 @@ HTML 属性の中ではマスタッシュ構文が使えません。代わりに
9898
```js
9999
const objectOfAttrs = {
100100
id: 'container',
101-
class: 'wrapper'
101+
class: 'wrapper',
102+
style: 'background-color:green'
102103
}
103104
```
104105

0 commit comments

Comments
 (0)