1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-08-06 22:57:21 +02:00

move progress bar to new module

This commit is contained in:
Hakim El Hattab
2020-03-16 14:30:36 +01:00
parent c50ec00419
commit 6ff4e9306c
6 changed files with 125 additions and 63 deletions

View File

@@ -1,8 +1,17 @@
import { toArray } from '../utils/util.js'
import { isMobile, isAndroid } from '../utils/device.js'
import { isAndroid } from '../utils/device.js'
/**
*
* Manages our presentation controls. This includes both
* the built-in control arrows as well as event monitoring
* of any elements within the presentation with either of the
* following helper classes:
* - .navigate-up
* - .navigate-right
* - .navigate-down
* - .navigate-left
* - .navigate-next
* - .navigate-prev
*/
export default class Controls {