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.
21 lines • 737 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.navBar = void 0;
var enums_1 = require("./enums");
exports.navBar = {
/**
* Sets the displayNavBar to true (show it) or false (hide it).
*
* @param setDisplayNavBarCommandArguments: object with a boolean that tells whether to display
* the navbar
*/
setDisplayNavBar: function (setDisplayNavBarCommandArguments) {
var displayNavBar = setDisplayNavBarCommandArguments.displayNavBar;
window.dispatchEvent(new CustomEvent(enums_1.NavBarEnum.SET_DISPLAY_NAV_BAR, {
detail: {
displayNavBar: displayNavBar,
},
}));
},
};
//# sourceMappingURL=commands.js.map