Christophe Dervieux | e1893ae | 2021-10-07 17:09:02 +0200 | [diff] [blame] | 1 | |
| 2 | export const SLIDES_SELECTOR = '.slides section'; |
| 3 | export const HORIZONTAL_SLIDES_SELECTOR = '.slides>section'; |
| 4 | export const VERTICAL_SLIDES_SELECTOR = '.slides>section.present>section'; |
| 5 | |
| 6 | // Methods that may not be invoked via the postMessage API |
| 7 | export const POST_MESSAGE_METHOD_BLACKLIST = /registerPlugin|registerKeyboardShortcut|addKeyBinding|addEventListener/; |
| 8 | |
| 9 | // Regex for retrieving the fragment style from a class attribute |
| 10 | export const FRAGMENT_STYLE_REGEX = /fade-(down|up|right|left|out|in-then-out|in-then-semi-out)|semi-fade-out|current-visible|shrink|grow/; |