Skip to content

Commit ad46f00

Browse files
committed
use .style instead of .css
1 parent b5d6bc0 commit ad46f00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ this:
131131
```js
132132
export default Component.extend({
133133
resizeArea(element) {
134-
element.css.height = `${element.scrollHeight}px`;
134+
element.style.height = `${element.scrollHeight}px`;
135135
}
136136
});
137137
```

0 commit comments

Comments
 (0)