2023-05-23 19:50:14 +02:00
|
|
|
export const SLIDES_SELECTOR = ".slides section";
|
|
|
|
export const HORIZONTAL_SLIDES_SELECTOR = ".slides>section";
|
|
|
|
export const VERTICAL_SLIDES_SELECTOR = ".slides>section.present>section";
|
2020-03-07 18:48:39 +01:00
|
|
|
|
|
|
|
// Methods that may not be invoked via the postMessage API
|
2023-05-23 19:50:14 +02:00
|
|
|
export const POST_MESSAGE_METHOD_BLACKLIST =
|
|
|
|
/registerPlugin|registerKeyboardShortcut|addKeyBinding|addEventListener|showPreview/;
|
2020-03-19 16:27:42 +01:00
|
|
|
|
|
|
|
// Regex for retrieving the fragment style from a class attribute
|
2023-05-23 19:50:14 +02:00
|
|
|
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/;
|