1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-08-06 14:47:04 +02:00

add color, constant and loader modules

This commit is contained in:
Hakim El Hattab
2020-03-07 18:48:39 +01:00
parent 7f94a79c27
commit 49bb498d9d
7 changed files with 147 additions and 147 deletions

7
js/utils/constants.js Normal file
View File

@@ -0,0 +1,7 @@
export const SLIDES_SELECTOR = '.slides section';
export const HORIZONTAL_SLIDES_SELECTOR = '.slides>section';
export const VERTICAL_SLIDES_SELECTOR = '.slides>section.present>section';
// Methods that may not be invoked via the postMessage API
export const POST_MESSAGE_METHOD_BLACKLIST = /registerPlugin|registerKeyboardShortcut|addKeyBinding|addEventListener/;