Skip to content

Calendar Properties Dialog

Arshad Khan edited this page Aug 2, 2017 · 3 revisions

Calendar Properties Dialog

Calendar Properties Dialog

State Object passed via message event

{
  general: {
    disabled: false,
    forceDisabled: false,
    autoEnabled: false,
    color: "#deadbf",
    name: "Calendar",
    uri: "moz-storage-calendar://",
    readOnly: true,
    supressAlarms: false,
    canRefresh: false,
    refreshInterval: 30,
    cache: {
      supported: false,
      enabled: false,
      always: false
    },
    capabilities: {
      alarms: {
        popup: {
          supported: true
        }
      }
    },
    imip: {
      identity: {
        disabled: false,
        selected: "key1"
      }
    },
    identities: [
      {
        name: "Arshad <arshad@exmaple.com>",
        key: "key2"
      },
      {
        name: "Philipp <kewisch@exmaple.com>",
        key: "key1"
      }
    ]
  },
  ...other tabs data,
  source: "dialog-message"
}

Note: source key acts as an identifier that message is from parent xul wrapper. Some devtools extensions also talk via message event.

Board Diagram

calendar-properties-dialog-board-diagram

Component docs can be found in form of inline comments in respective component code files.

Clone this wiki locally