Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
benpbenp committed Mar 10, 2018
1 parent 993e582 commit 79de8b7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions frontend/comp/ImageWall.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ class OneImage extends React.Component {
);

}

componentDidMount() {
this.foo.onload = () => {
console.log( this.foo.width + ", " + this.foo.height );
};
}
}

export class ImageWall extends React.Component {
Expand Down

0 comments on commit 79de8b7

Please sign in to comment.