Created
January 6, 2016 13:30
-
-
Save engineersamuel/c4f25991da2a1ba70e5c to your computer and use it in GitHub Desktop.
componentDidMount
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
componentDidMount() { | |
this.createIsotopeContainer(); | |
// Only arrange if there are elements to arrange | |
if (_.get(this, 'props.children.length', 0) > 0) { | |
this.iso.arrange(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment