flauwekeul/honeycomb

Re-render grid on window resize

daniel-codrea-p4b opened this issue · 1 comments

Hi.
Is there a way to re-render the grid on the window resize event?

I was looking through the API documentation and nothing seemed to actually achieve this.

Nevermind. I found out that the issue was that the grid was being drawn each time on resizing, and I wasn't creating the container class.
A simple innerHTML clear fixed my problem.