PositionStateEvent.webidl (623B)
1 /** 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 file, 4 * You can obtain one at http://mozilla.org/MPL/2.0/. 5 */ 6 7 dictionary PositionStateEventInit : EventInit { 8 required double duration; 9 required double playbackRate; 10 required double position; 11 }; 12 13 [Exposed=Window, ChromeOnly] 14 interface PositionStateEvent : Event { 15 constructor(DOMString type, optional PositionStateEventInit eventInitDict = {}); 16 readonly attribute double duration; 17 readonly attribute double playbackRate; 18 readonly attribute double position; 19 };