Skip to content

Commit c14b1c5

Browse files
committed
Add new demo links to doccomments
1 parent 45ac545 commit c14b1c5

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

packages/survey-creator-core/src/creator-base.ts

+16
Original file line numberDiff line numberDiff line change
@@ -184,12 +184,16 @@ export class SurveyCreatorModel extends Base
184184
* Specifies whether users can modify the [Survey Creator theme](https://surveyjs.io/survey-creator/documentation/api-reference/survey-creator#creatorTheme). Applies only if [`propertyGridNavigationMode`](https://surveyjs.io/survey-creator/documentation/api-reference/survey-creator#propertyGridNavigationMode) is `"buttons"`.
185185
*
186186
* Default value: `true`
187+
*
188+
* [View Demo](https://surveyjs.io/survey-creator/examples/dynamic-ui-customization/ (linkStyle))
187189
*/
188190
@property({ defaultValue: true }) showCreatorThemeSettings: boolean;
189191
/**
190192
* Specifies whether the "Zoom In", "Zoom Out", and "Zoom to 100%" buttons are available.
191193
*
192194
* Default value: `true`
195+
*
196+
* [View Demo](https://surveyjs.io/survey-creator/examples/expand-and-collapse-survey-elements/ (linkStyle))
193197
*/
194198
@property({ defaultValue: true }) allowZoom: boolean;
195199
/**
@@ -598,6 +602,10 @@ export class SurveyCreatorModel extends Base
598602

599603
/**
600604
* An event that is raised when Survey Creator obtains the expand/collapse state of a survey element on the design surface. Handle this event to set a required state.
605+
*
606+
* For information on event handler parameters, refer to descriptions within the interface.
607+
*
608+
* [View Demo](https://surveyjs.io/survey-creator/examples/expand-and-collapse-survey-elements/ (linkStyle))
601609
* @see [ICreatorOptions.collapseQuestions](https://surveyjs.io/survey-creator/documentation/api-reference/icreatoroptions#collapseQuestions)
602610
* @see [ICreatorOptions.collapsePanels](https://surveyjs.io/survey-creator/documentation/api-reference/icreatoroptions#collapsePanels)
603611
* @see [ICreatorOptions.collapsePages](https://surveyjs.io/survey-creator/documentation/api-reference/icreatoroptions#collapsePages)
@@ -3145,6 +3153,8 @@ export class SurveyCreatorModel extends Base
31453153

31463154
/**
31473155
* Opens [Survey Creator theme](https://surveyjs.io/survey-creator/documentation/api-reference/survey-creator#creatorTheme) settings in Property Grid. Applies only if [`propertyGridNavigationMode`](https://surveyjs.io/survey-creator/documentation/api-reference/survey-creator#propertyGridNavigationMode) is `"buttons"`.
3156+
*
3157+
* [View Demo](https://surveyjs.io/survey-creator/examples/dynamic-ui-customization/ (linkStyle))
31483158
* @see closeCreatorThemeSettings
31493159
* @see showCreatorThemeSettings
31503160
*/
@@ -4257,6 +4267,8 @@ export class SurveyCreatorModel extends Base
42574267
* - `"onhover"` (default) - Displays an expand/collapse button when a survey element is hovered over or selected.
42584268
* - `"always"` - Displays the expand/collapse buttons permanently.
42594269
* - `"never"` - Hides the expand/collapse buttons.
4270+
*
4271+
* [View Demo](https://surveyjs.io/survey-creator/examples/expand-and-collapse-survey-elements/ (linkStyle))
42604272
* @see onElementGetExpandCollapseState
42614273
* @see collapseOnDrag
42624274
*/
@@ -4340,6 +4352,8 @@ export class SurveyCreatorModel extends Base
43404352
@property({ defaultValue: {} }) themeVariables: { [index: string]: string } = {};
43414353
/**
43424354
* A theme for the Survey Creator UI.
4355+
*
4356+
* [View Demo](https://surveyjs.io/survey-creator/examples/dynamic-ui-customization/ (linkStyle))
43434357
* @see applyCreatorTheme
43444358
* @see showCreatorThemeSettings
43454359
*/
@@ -4349,6 +4363,8 @@ export class SurveyCreatorModel extends Base
43494363

43504364
/**
43514365
* Applies a specified UI theme to Survey Creator.
4366+
*
4367+
* [View Demo](https://surveyjs.io/survey-creator/examples/dynamic-ui-customization/ (linkStyle))
43524368
* @param theme An `ICreatorTheme` object with theme settings.
43534369
* @see creatorTheme
43544370
* @see showCreatorThemeSettings

packages/survey-creator-core/src/creator-options.ts

+6
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,8 @@ export interface ICreatorOptions {
380380
*
381381
* Default value: `false`
382382
*
383+
* [View Demo](https://surveyjs.io/survey-creator/examples/expand-and-collapse-survey-elements/ (linkStyle))
384+
*
383385
* This property specifies the expand/collapse state of all survey pages at once. To adjust the state of individual pages, handle the [`onElementGetExpandCollapseState`](https://surveyjs.io/survey-creator/documentation/api-reference/survey-creator#onElementGetExpandCollapseState) event.
384386
* @see expandCollapseButtonVisibility
385387
*/
@@ -389,6 +391,8 @@ export interface ICreatorOptions {
389391
*
390392
* Default value: `false`
391393
*
394+
* [View Demo](https://surveyjs.io/survey-creator/examples/expand-and-collapse-survey-elements/ (linkStyle))
395+
*
392396
* This property specifies the expand/collapse state of all panels at once. To adjust the state of individual panels, handle the [`onElementGetExpandCollapseState`](https://surveyjs.io/survey-creator/documentation/api-reference/survey-creator#onElementGetExpandCollapseState) event.
393397
* @see expandCollapseButtonVisibility
394398
*/
@@ -398,6 +402,8 @@ export interface ICreatorOptions {
398402
*
399403
* Default value: `false`
400404
*
405+
* [View Demo](https://surveyjs.io/survey-creator/examples/expand-and-collapse-survey-elements/ (linkStyle))
406+
*
401407
* This property specifies the expand/collapse state of all survey questions at once. To adjust the state of individual questions, handle the [`onElementGetExpandCollapseState`](https://surveyjs.io/survey-creator/documentation/api-reference/survey-creator#onElementGetExpandCollapseState) event.
402408
* @see expandCollapseButtonVisibility
403409
*/

0 commit comments

Comments
 (0)