Skip to content
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

Custom attributes on "Pattern" object [Feature request ?] #3470

Closed
ncou opened this issue Nov 30, 2016 · 1 comment · Fixed by #3477
Closed

Custom attributes on "Pattern" object [Feature request ?] #3470

ncou opened this issue Nov 30, 2016 · 1 comment · Fixed by #3477

Comments

@ncou
Copy link
Collaborator

ncou commented Nov 30, 2016

Hi,

I try to add a custom attribute for the "Pattern" object, I think from the documentation we can add custom attributes, but not really sure (because the attribute seems limited to offsetX/Y...etc), so i tried a few tests with a fiddle :

http://jsfiddle.net/QT3pa/151/

I was thinking adding custom propoterties could be possible on all fabric objects.

If it's not a bug do you think this feature request could be admissible ?

I want to add a custom attribute like for example "code", to be able to identify the pattern used when i will load the exported json data.

Thank you. Keep up the good work.

@asturur
Copy link
Member

asturur commented Dec 1, 2016

i guess is just on main classes, but i cannot see why not implementing it if not trivial.

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

Successfully merging a pull request may close this issue.

2 participants