documentation
This commit is contained in:
parent
8468d82433
commit
6a2c5b4de8
@ -3901,6 +3901,9 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns an array of objects where each object represents the attributes on its respective slide.
|
||||||
|
*/
|
||||||
function getSlidesMetaInfo() {
|
function getSlidesMetaInfo() {
|
||||||
|
|
||||||
var slides = getSlides();
|
var slides = getSlides();
|
||||||
|
@ -378,6 +378,9 @@
|
|||||||
|
|
||||||
} );
|
} );
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Asynchronously calls the Reveal.js API of the main frame.
|
||||||
|
*/
|
||||||
function callRevealApi( methodName, methodArguments, callback ) {
|
function callRevealApi( methodName, methodArguments, callback ) {
|
||||||
var callId = ++lastRevealApiCallId;
|
var callId = ++lastRevealApiCallId;
|
||||||
pendingCalls[callId] = callback;
|
pendingCalls[callId] = callback;
|
||||||
|
@ -51,6 +51,10 @@ var RevealNotes = (function() {
|
|||||||
} );
|
} );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Calls the specified Reveal.js method with the provided argument and then pushes the result to the notes
|
||||||
|
* frame.
|
||||||
|
*/
|
||||||
function callRevealApi( methodName, methodArguments, callId ) {
|
function callRevealApi( methodName, methodArguments, callId ) {
|
||||||
var result = Reveal[methodName].call(Reveal, methodArguments);
|
var result = Reveal[methodName].call(Reveal, methodArguments);
|
||||||
notesPopup.postMessage( JSON.stringify( {
|
notesPopup.postMessage( JSON.stringify( {
|
||||||
|
Loading…
Reference in New Issue
Block a user