blob: 43fcb84e4e9c38d0bedc6b73e35d535140d97ce7 [file] [log] [blame]
Christophe Dervieuxe1893ae2021-10-07 17:09:02 +02001
2export const SLIDES_SELECTOR = '.slides section';
3export const HORIZONTAL_SLIDES_SELECTOR = '.slides>section';
4export const VERTICAL_SLIDES_SELECTOR = '.slides>section.present>section';
5
6// Methods that may not be invoked via the postMessage API
Marc Kupietz09b75752023-10-07 09:32:19 +02007export const POST_MESSAGE_METHOD_BLACKLIST = /registerPlugin|registerKeyboardShortcut|addKeyBinding|addEventListener|showPreview/;
Christophe Dervieuxe1893ae2021-10-07 17:09:02 +02008
9// Regex for retrieving the fragment style from a class attribute
10export const FRAGMENT_STYLE_REGEX = /fade-(down|up|right|left|out|in-then-out|in-then-semi-out)|semi-fade-out|current-visible|shrink|grow/;