|
1 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
|
2 /* This Source Code Form is subject to the terms of the Mozilla Public |
|
3 * License, v. 2.0. If a copy of the MPL was not distributed with this |
|
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
|
5 |
|
6 #include "nsIDOMXULSelectCntrlEl.idl" |
|
7 interface nsIDOMXULTextBoxElement; |
|
8 |
|
9 [scriptable, uuid(36c16a17-c0e9-4b35-951b-81a147314ef1)] |
|
10 interface nsIDOMXULMenuListElement : nsIDOMXULSelectControlElement { |
|
11 attribute boolean editable; |
|
12 attribute boolean open; |
|
13 |
|
14 // label of selected option or value of textfield for editable menu lists |
|
15 readonly attribute DOMString label; |
|
16 |
|
17 attribute DOMString crop; |
|
18 attribute DOMString image; |
|
19 |
|
20 // For editable menu lists only. |
|
21 readonly attribute nsIDOMNode inputField; |
|
22 }; |
|
23 |