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.
32 lines • 981 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.layout = void 0;
var enums_1 = require("./enums");
exports.layout = {
/**
* @deprecated Use {@link layout.setEnforcedLayout} instead
* Changes the enforced layout
*
* @param layoutType is one of the options described by the enum
*/
changeEnforcedLayout: (function (layoutType) {
window.dispatchEvent(new CustomEvent(enums_1.LayoutEnum.CHANGE_ENFORCED_LAYOUT, {
detail: {
layoutType: layoutType,
},
}));
}),
/**
* Sets the enforced layout
*
* @param layoutType is one of the options described by the enum
*/
setEnforcedLayout: (function (layoutType) {
window.dispatchEvent(new CustomEvent(enums_1.LayoutEnum.SET_ENFORCED_LAYOUT, {
detail: {
layoutType: layoutType,
},
}));
}),
};
//# sourceMappingURL=commands.js.map