dom/interfaces/xul/nsIDOMXULSelectCntrlItemEl.idl

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dom/interfaces/xul/nsIDOMXULSelectCntrlItemEl.idl	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,28 @@
     1.4 +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
     1.5 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.6 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     1.7 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.8 +
     1.9 +#include "nsIDOMXULElement.idl"
    1.10 +interface nsIDOMXULSelectControlElement;
    1.11 +
    1.12 +[scriptable, uuid(5c6be58f-17df-4750-88a5-4a59ac28adc9)]
    1.13 +interface nsIDOMXULSelectControlItemElement : nsISupports {
    1.14 +  attribute boolean disabled;
    1.15 +  attribute DOMString crop;
    1.16 +  attribute DOMString image;
    1.17 +  attribute DOMString label;
    1.18 +  attribute DOMString accessKey;
    1.19 +  attribute DOMString command;
    1.20 +  
    1.21 +  attribute DOMString value;
    1.22 +  
    1.23 +  readonly attribute boolean selected;
    1.24 +  
    1.25 +  readonly attribute nsIDOMXULSelectControlElement control;
    1.26 +  
    1.27 +  // XXX defined in XULElement, but should be defined here
    1.28 +  // void doCommand();
    1.29 +};
    1.30 +
    1.31 +

mercurial