2011-08-08 10:31:32 -07:00
|
|
|
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2012-05-21 04:12:37 -07:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2011-08-08 10:31:32 -07:00
|
|
|
|
2013-06-06 06:57:26 -07:00
|
|
|
#include "nsIDOMHTMLElement.idl"
|
2011-08-08 10:31:32 -07:00
|
|
|
|
|
|
|
/**
|
|
|
|
* The nsIDOMHTMLMenuItemElement interface is the interface to a HTML
|
|
|
|
* <menuitem> element.
|
|
|
|
*/
|
|
|
|
|
2014-05-08 13:45:36 -07:00
|
|
|
[uuid(979d6e44-5930-4232-b405-873939655c19)]
|
2013-08-07 13:23:08 -07:00
|
|
|
interface nsIDOMHTMLMenuItemElement : nsISupports
|
2011-08-08 10:31:32 -07:00
|
|
|
{
|
2013-06-06 06:57:26 -07:00
|
|
|
attribute DOMString type;
|
|
|
|
attribute DOMString label;
|
|
|
|
attribute DOMString icon;
|
|
|
|
attribute boolean disabled;
|
|
|
|
|
|
|
|
// This should be 'default' but in the IDL implementation
|
|
|
|
// this has been renamed 'defaultChecked'.
|
|
|
|
attribute boolean defaultChecked;
|
|
|
|
|
|
|
|
attribute boolean checked;
|
|
|
|
attribute DOMString radiogroup;
|
|
|
|
|
|
|
|
// Currently not implemented.
|
|
|
|
// readonly attribute HTMLElement? command;
|
2011-08-08 10:31:32 -07:00
|
|
|
};
|