-
Notifications
You must be signed in to change notification settings - Fork 780
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add lifecycle events documentation w/ working example 📚 #40
Conversation
@danigb Very nice! Thanks, what's EDIT: I see, can you provide a full working example? I can create a codepen for it and link to it later. |
Great! The |
@danigb LOL, right. Can we have simple working example? |
With a working example now |
README.md
Outdated
|
||
```js | ||
function repaint(canvas, model) { | ||
var ctx = canvas.getContext('2d') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please spell this out, context
i know its a pain, but to most people ctx means nothing! Love the contrib though! ❤️
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I didn't read you comment. Fixing it...
@danigb Awesome, thanks! |
Add some documentation to README.md with a
canvas
example.