bigbluebutton-html-plugin-sdk
Version:
This repository contains the SDK for developing BigBlueButton plugins. Plugins are React components that can be loaded from external sources by the BigBlueButton HTML5 client to extend its functionalities.
23 lines • 888 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.caption = void 0;
var enum_1 = require("./enum");
exports.caption = {
/**
* Saves caption texts into the Caption graphql collection.
*
* @param captionSaveCommandArguments the text with which the method will save the caption.
* Refer to {@link CaptionSaveCommandArguments} to understand the argument structure.
*/
save: function (captionSaveCommandArguments) {
window.dispatchEvent(new CustomEvent(enum_1.CaptionCommandsEnum.SAVE, {
detail: captionSaveCommandArguments,
}));
},
addLocale: function (captionAddLocaleCommandArguments) {
window.dispatchEvent(new CustomEvent(enum_1.CaptionCommandsEnum.ADD_LOCALE, {
detail: captionAddLocaleCommandArguments,
}));
},
};
//# sourceMappingURL=commands.js.map