tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

nsIDOMXULSelectCntrlEl.idl (764B)


      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 "nsIDOMXULControlElement.idl"
      7 interface nsIDOMXULSelectControlItemElement;
      8 
      9 webidl Element;
     10 
     11 [scriptable, uuid(9bf188a7-d6f9-431b-b5c7-118013998e8b)]
     12 interface nsIDOMXULSelectControlElement : nsIDOMXULControlElement {
     13  attribute Element selectedItem;
     14  attribute long selectedIndex;
     15 
     16  attribute AString value;
     17 
     18  readonly attribute unsigned long itemCount;
     19  long getIndexOfItem(in nsIDOMXULSelectControlItemElement item);
     20  Element getItemAtIndex(in long index);
     21 };