init
Some checks failed
tests / build (14.x) (push) Failing after 3m45s

This commit is contained in:
2025-09-05 18:39:49 +02:00
commit b343de3014
190 changed files with 42779 additions and 0 deletions

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

@@ -0,0 +1,10 @@
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|showPreview/;
// Regex for retrieving the fragment style from a class attribute
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/;