Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Andrew Seales
Kubernetes Presentation
Commits
cce59072
Commit
cce59072
authored
Mar 09, 2020
by
Hakim El Hattab
Browse files
fix controller api methods
parent
cd78bbd4
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
dist/reveal.min.js
View file @
cce59072
This diff is collapsed.
Click to expand it.
js/reveal.js
View file @
cce59072
...
...
@@ -4060,9 +4060,9 @@ export default function( revealElement, options ) {
navigateNext
:
navigateNext
,
// Fragment methods
navigateFragment
:
()
=>
fragments
.
goto
,
prevFragment
:
()
=>
fragments
.
prev
,
nextFragment
:
()
=>
fragments
.
next
,
navigateFragment
:
()
=>
fragments
.
goto
.
bind
(
fragments
)
,
prevFragment
:
()
=>
fragments
.
prev
.
bind
(
fragments
)
,
nextFragment
:
()
=>
fragments
.
next
.
bind
(
fragments
)
,
// Forces an update in slide layout
layout
,
...
...
@@ -4074,13 +4074,13 @@ export default function( revealElement, options ) {
availableRoutes
,
// Returns an object with the available fragments as booleans (prev/next)
availableFragments
:
()
=>
fragments
.
availableRoutes
(
),
availableFragments
:
fragments
.
availableRoutes
.
bind
(
fragments
),
// Toggles a help overlay with keyboard shortcuts
toggleHelp
,
// Toggles the overview mode on/off
toggleOverview
:
()
=>
overview
.
toggle
,
toggleOverview
:
overview
.
toggle
.
bind
(
overview
)
,
// Toggles the "black screen" mode on/off
togglePause
,
...
...
@@ -4094,14 +4094,14 @@ export default function( revealElement, options ) {
isLastVerticalSlide
,
// State checks
isOverview
:
()
=>
overview
.
isActive
,
isOverview
:
()
=>
overview
.
isActive
.
bind
(
overview
)
,
isPaused
,
isAutoSliding
,
isSpeakerNotes
,
// Slide preloading
loadSlide
:
()
=>
slideContent
.
load
,
unloadSlide
:
()
=>
slideContent
.
unload
,
loadSlide
:
()
=>
slideContent
.
load
.
bind
(
slideContent
)
,
unloadSlide
:
()
=>
slideContent
.
unload
.
bind
(
slideContent
)
,
// Adds or removes all internal event listeners (such as keyboard)
addEventListeners
,
...
...
@@ -4168,12 +4168,12 @@ export default function( revealElement, options ) {
},
// API for registering and retrieving plugins
registerPlugin
:
(
...
args
)
=>
plugins
.
registerPlugin
(
...
arg
s
),
hasPlugin
:
(
...
args
)
=>
plugins
.
hasPlugin
(
...
arg
s
),
getPlugin
:
(
...
args
)
=>
plugins
.
getPlugin
(
...
arg
s
),
registerPlugin
:
()
=>
plugins
.
registerPlugin
.
bind
(
plugin
s
),
hasPlugin
:
()
=>
plugins
.
hasPlugin
.
bind
(
plugin
s
),
getPlugin
:
()
=>
plugins
.
getPlugin
.
bind
(
plugin
s
),
// Returns a hash with all registered plugins
getPlugins
:
()
=>
plugins
.
getRegisteredPlugins
(
),
getPlugins
:
()
=>
plugins
.
getRegisteredPlugins
.
bind
(
plugins
),
getComputedSlideSize
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment