diff --git a/packages/survey-creator-core/src/creator-base.ts b/packages/survey-creator-core/src/creator-base.ts index 2dfbde7ee8..e5c38bbdd3 100644 --- a/packages/survey-creator-core/src/creator-base.ts +++ b/packages/survey-creator-core/src/creator-base.ts @@ -1231,6 +1231,8 @@ export class SurveyCreatorModel extends Base * Provides access to the [Toolbox API](https://surveyjs.io/survey-creator/documentation/api-reference/questiontoolbox). * * [Toolbox Customization](https://surveyjs.io/survey-creator/documentation/toolbox-customization (linkStyle)) + * @see showToolbox + * @see toolboxLocation */ public toolbox: QuestionToolbox; public get toolboxCategories(): Array { @@ -1287,6 +1289,15 @@ export class SurveyCreatorModel extends Base public get showToolbox() { return this.showToolboxValue && this.allowShowToolbox; } + /** + * Specifies whether to show the Toolbox. + * + * Default value: `true` + * + * [Toolbox Customization](https://surveyjs.io/survey-creator/documentation/toolbox-customization (linkStyle)) + * @see toolbox + * @see toolboxLocation + */ public set showToolbox(val: boolean) { if (val !== true && val !== false) { SurveyHelper.warnText("showToolbox is a boolean property now."); @@ -3789,6 +3800,10 @@ export class SurveyCreatorModel extends Base * - `"left"` (default) - Displays the Toolbox on the left side of the design surface. * - `"right"` - Displays the Toolbox on the right side of the design surface. * - `"sidebar"` - Displays the Toolbox as an overlay on top of the Property Grid. Use the [`sidebarLocation`](https://surveyjs.io/survey-creator/documentation/api-reference/survey-creator#sidebarLocation) property to specify the Property Grid position. + * + * [Toolbox Customization](https://surveyjs.io/survey-creator/documentation/toolbox-customization (linkStyle)) + * @see showToolbox + * @see toolbox */ @property({ defaultValue: "left", onSet: (newValue, target: SurveyCreatorModel) => {