WebAPI/ContactsAPI: Difference between revisions

Jump to navigation Jump to search
(→‎API: WebIDL update)
Line 165: Line 165:
The following Contact interface is based [[vCard4]]/hCard properties, flattened for the simple/typical case of one address (adr) based on the [http://microformats.org/wiki/microformats-2#h-card microformats 2.0 hCard] iteration.
The following Contact interface is based [[vCard4]]/hCard properties, flattened for the simple/typical case of one address (adr) based on the [http://microformats.org/wiki/microformats-2#h-card microformats 2.0 hCard] iteration.


  [ChromeOnly, Constructor, JSImplementation="@mozilla.org/contactField;1"]
   interface <span id="ContactField">ContactField</span> {
   interface <span id="ContactField">ContactField</span> {
     attribute DOMString[] type; // ["home"], ["work"], etc.
     attribute DOMString[] type; // ["home"], ["work"], etc.
Confirmed users
100

edits

Navigation menu