summaryrefslogtreecommitdiffstats
path: root/src/models/contact.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/models/contact.js')
-rw-r--r--src/models/contact.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/models/contact.js b/src/models/contact.js
index a517f751..a4bbad99 100644
--- a/src/models/contact.js
+++ b/src/models/contact.js
@@ -208,4 +208,15 @@ export default class Contact {
return this.displayName
}
+ /**
+ * Return all the properties as Property objects
+ *
+ * @readonly
+ * @memberof Contact
+ * @returns {Property[]} http://mozilla-comm.github.io/ical.js/api/ICAL.Property.html
+ */
+ get properties() {
+ return this.vCard.getAllProperties()
+ }
+
}