Skip to content

Commit ea3a69b

Browse files
committed
highlight hyphened attr notes for paramAttributes
1 parent 1962b09 commit ea3a69b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

source/api/options.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,9 @@ Param attributes can also contain interpolation tags. The interpolation will be
131131
<param-demo message="{&#123;parentMessage&#125;}"></param-demo>
132132
```
133133

134-
There are some special cases when using `paramAttributes` with attributes that contains hyphens:
134+
#### Notes on hyphened attributes
135+
136+
HTML attribute names ignore upper and lower case differences, so we usually use hyphened attributes instead of camel case. There are some special cases when using `paramAttributes` with attributes that contains hyphens:
135137

136138
1. If the attribute is a data attribute, the `data-` prefix will be auto stripped;
137139

0 commit comments

Comments
 (0)