mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-24 20:14:35 -04:00
Fix reveal (#1563)
Fix race condition in slide show Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
3958ef550d
commit
e84ed1398f
5 changed files with 84 additions and 19 deletions
6
src/external-types/reveal.js/index.d.ts
vendored
6
src/external-types/reveal.js/index.d.ts
vendored
|
@ -184,9 +184,9 @@ declare module 'reveal.js' {
|
|||
public getPlugins(): { [name: string]: Plugin }
|
||||
|
||||
// States
|
||||
// public addEventListener(type: string, listener: (event: any) => void, useCapture?: boolean): void
|
||||
|
||||
// public removeEventListener(type: string, listener: (event: any) => void, useCapture?: boolean): void
|
||||
// Added only the events we need
|
||||
public addEventListener(type: 'slidechanged', listener: (event: SlideEvent) => void, useCapture?: boolean): void
|
||||
public removeEventListener(type: 'slidechanged', listener: (event: SlideEvent) => void, useCapture?: boolean): void
|
||||
|
||||
// State Checks
|
||||
public isFirstSlide(): boolean
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue