Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

added possibility to pass in additional attribues to element creators (#796) #924

Merged
merged 1 commit into from
Nov 9, 2018

Conversation

Fuzzyma
Copy link
Member

@Fuzzyma Fuzzyma commented Nov 8, 2018

e.g.

  • canvas.rect({x:100}) or
  • canvas.rect(100, 100, {x:100})

Please add your thoughts!

Iam not entirely satisfied with the way I need to wrap every function on every export. However, it was the cleanest way for now

…#796)

e.g.
- `canvas.rect({x:100})` or
- `canvas.rect(100, 100, {x:100})`
@coveralls
Copy link

Coverage Status

Coverage increased (+0.5%) to 82.863% when pulling 09e7d0b on 796-add-attribute-syntax into 8c81fb7 on 3.0.0.

@saivan
Copy link
Member

saivan commented Nov 9, 2018

This looks like a sensible approach to me

@Fuzzyma
Copy link
Member Author

Fuzzyma commented Nov 9, 2018

Well if you are fine with that we can merge it :)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants