Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
BMSVieira authored Dec 8, 2020
1 parent 089ef73 commit ebedf7a
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ demo1.SetupEasyGrid();
| `animations` > `addItemSpeed` | `Integer` | `Integer` | Speed(ms) at which each item is added|
| `style` > `background` | `String` | `random`, `shadesOfGrey`, `HEX`, `RGBA` | Item's Background color|
| `style` > `borderRadius` | `Integer` | `Integer` | Item's Border Radius|
| `responsive` > `breakpoint` | `Integer` | `Integer` | Responsive breakpoint, interrupts natural flow of EasyGrid and adds desired columns|
| `responsive` > `columns` | `Integer` | `Integer` | Number of columns after breakpoint|

<b>Full Example:</b>

Expand All @@ -166,7 +168,17 @@ document.addEventListener("DOMContentLoaded", function() {
style: {
background: "random",
borderRadius: "5"
}
},
responsive: [
{
breakpoint: 500,
columns: 2
},
{
breakpoint: 300,
columns: 1
}
]
});
});
```
Expand Down

0 comments on commit ebedf7a

Please sign in to comment.