Sets the side bars which are shown in the side bar toggle / drop down button at the top right of the ribbon bar. The value TXTextControl.SideBarType.None or 0 removes the button altogether.

<void> SideBarToggleButton.setAllowedSideBars(<SideBarType> value, [<EmptyRequestCallback> callback], [<ErrorCallback> errorCallback])

Parameters

Parameter Description
value A bitwise combination of one or more SideBarType values.
callback Optional. Is called when the operation completed.
errorCallback Optional. Is called when the operation failed with an error.