2012-03-31 08:42:20 +04:00
|
|
|
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
/* 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/.
|
|
|
|
*
|
|
|
|
* The origin of this IDL file is
|
|
|
|
* http://www.w3.org/TR/2012/WD-dom-20120105/
|
|
|
|
*
|
2014-05-13 06:57:23 +04:00
|
|
|
* Copyright © 2012 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C
|
2012-03-31 08:42:20 +04:00
|
|
|
* liability, trademark and document use rules apply.
|
|
|
|
*/
|
|
|
|
|
2013-06-18 22:48:45 +04:00
|
|
|
[Constructor(DOMString type, optional CustomEventInit eventInitDict), HeaderFile="GeneratedEventClasses.h"]
|
|
|
|
interface CustomEvent : Event
|
|
|
|
{
|
|
|
|
[Throws]
|
2012-03-31 08:42:20 +04:00
|
|
|
readonly attribute any detail;
|
2013-06-18 22:48:45 +04:00
|
|
|
|
|
|
|
// initCustomEvent is a Gecko specific deprecated method.
|
|
|
|
[Throws]
|
|
|
|
void initCustomEvent(DOMString type,
|
|
|
|
boolean canBubble,
|
|
|
|
boolean cancelable,
|
|
|
|
any detail);
|
2012-03-31 08:42:20 +04:00
|
|
|
};
|
|
|
|
|
2013-06-18 22:48:45 +04:00
|
|
|
dictionary CustomEventInit : EventInit
|
|
|
|
{
|
|
|
|
any detail = null;
|
2012-03-31 08:42:20 +04:00
|
|
|
};
|