Skip to content

Commit 6ef300f

Browse files
committed
Fix code sample in readme
1 parent b68d26d commit 6ef300f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -961,6 +961,7 @@ Given breakpoints 350, 700 and 1050:
961961

962962
```html
963963
<ElementQuery
964+
@dimension="both"
964965
@sizes=(hash small-width=0 medium-width=350 large-width=700)
965966
@sizesHeight=(hash small-height=0 medium-height=200 large-height=400)
966967
as |EQ|
@@ -974,7 +975,7 @@ Given breakpoints 350, 700 and 1050:
974975
When usign default sizes, this gets even shorter:
975976

976977
```html
977-
<ElementQuery @heightRules=true as |EQ|>
978+
<ElementQuery @dimension="both" as |EQ|>
978979
<EQ.to-s><EQ.from-l-height>
979980
I am thin and tall.
980981
</EQ.from-l-height></EQ.to-s>

0 commit comments

Comments
 (0)