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.
42 lines (41 loc) • 1.69 kB
TypeScript
import { PresentationDropdownItemType } from './enums';
import { PresentationDropdownInterface, PresentationDropdownOptionProps } from './types';
export declare class PresentationDropdownOption implements PresentationDropdownInterface {
id: string;
type: PresentationDropdownItemType;
label: string;
icon: string;
dataTest: string;
onClick: () => void;
/**
* Returns object to be used in the setter for the Presentation Dropdown. In this case,
* an option (clickable).
*
* @param label - label to be displayed in the presentation dropdown option.
* @param icon - icon to be displayed in the presentation dropdown.
* It goes in the left side of it.
* @param dataTest - string attribute to be used for testing
* @param onClick - function to be called when clicking the option.
*
* @returns Object that will be interpreted by the core of Bigbluebutton (HTML5).
*/
constructor({ id, label, icon, dataTest, onClick, }: PresentationDropdownOptionProps);
setItemId: (id: string) => void;
}
export declare class PresentationDropdownSeparator implements PresentationDropdownInterface {
id: string;
type: PresentationDropdownItemType;
dataTest: string;
/**
* Returns object to be used in the setter for the Presentation Dropdown. In this case,
* a separator (horizontal thin black line).
*
* @param dataTest - string attribute to be used for testing
*
* @returns Object that will be interpreted by the core of Bigbluebutton (HTML5).
*/
constructor({ dataTest }?: {
dataTest?: string | undefined;
});
setItemId: (id: string) => void;
}