mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-04 17:20:09 +00:00
Merge pull request #544 from vbortone/master
"addEvent" and "removeEvent" were replaced by "on" and "off"
This commit is contained in:
6
videojs/videojs.d.ts
vendored
6
videojs/videojs.d.ts
vendored
@@ -40,12 +40,12 @@ interface VideoJSPlayer {
|
||||
requestFullScreen(): VideoJSPlayer;
|
||||
cancelFullScreen(): VideoJSPlayer;
|
||||
ready(callback: () => void ): void;
|
||||
addEvent(eventName: string, callback: () => void ): void;
|
||||
removeEvent(eventName: string, callback: () => void ): void;
|
||||
on(eventName: string, callback: () => void ): void;
|
||||
off(eventName: string, callback: () => void ): void;
|
||||
}
|
||||
|
||||
interface VideoJSStatic {
|
||||
(id: any, options?: VideoJSOptions, ready?: () => void): VideoJSPlayer;
|
||||
}
|
||||
|
||||
declare var _V_:VideoJSStatic;
|
||||
declare var _V_:VideoJSStatic;
|
||||
|
||||
Reference in New Issue
Block a user