enesser / vCards-js

Create vCards to import contacts into Outlook, iOS, Mac OS, and Android devices from your website or application.
MIT License
426 stars 156 forks source link

question: custom fields #44

Open dantrevino opened 5 years ago

dantrevino commented 5 years ago

I don't see any reference to setting custom field (X-FOO-BAR: something). Is there a way to do this that I'm missing?

tia, dan

enesser commented 5 years ago

No, but an excellent suggestion. Only the most used extension fields are supported right now. I may get to this soon but also welcome any PR that would have extension fields in the format of something like: vCard.extensions['X-FOO-BAR'] = 'something';