WebAPI/ContactsAPI: Difference between revisions

Jump to navigation Jump to search
→‎API: add bug links for key and pref
(→‎key property: for Contacts app)
(→‎API: add bug links for key and pref)
Line 54: Line 54:
     attribute DOMString[] type;  // "home", "work", etc.
     attribute DOMString[] type;  // "home", "work", etc.
     attribute DOMString  value;
     attribute DOMString  value;
     attribute integer    pref; // 0 = no pref, 1 = preferred (vCard3 type:PREF)
     attribute integer    [https://bugzilla.mozilla.org/show_bug.cgi?id=860559 pref]; // 0 = no pref, 1 = preferred (vCard3 type:PREF)
   };
   };


Line 64: Line 64:
   interface <span id="ContactAddress">ContactAddress</span> {
   interface <span id="ContactAddress">ContactAddress</span> {
             attribute DOMString[]            type; // "home", "work", etc.
             attribute DOMString[]            type; // "home", "work", etc.
             attribute integer                pref; // 0 = no pref, 1 = preferred.
             attribute integer                [https://bugzilla.mozilla.org/show_bug.cgi?id=860559 pref]; // 0 = no pref, 1 = preferred.
             attribute DOMString              streetAddress;
             attribute DOMString              streetAddress;
             attribute DOMString              locality;
             attribute DOMString              locality;
Line 90: Line 90:
             attribute Date                  bday;
             attribute Date                  bday;
             attribute DOMString[]            note;
             attribute DOMString[]            note;
             attribute DOMString[]            key;
             attribute DOMString[]            [https://bugzilla.mozilla.org/show_bug.cgi?id=807688 key];
             attribute ContactField[]        impp; /* per RFC 4770, included in vCard4 */
             attribute ContactField[]        impp; /* per RFC 4770, included in vCard4 */
             attribute Date                  anniversary; /* new in vCard4 */
             attribute Date                  anniversary; /* new in vCard4 */
canmove, Confirmed users
2,851

edits

Navigation menu