Skip to content

Commit

Permalink
Update links in doccomments
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanTsukanov committed Nov 6, 2023
1 parent 5abd3a7 commit 22bcef1
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 30 deletions.
14 changes: 7 additions & 7 deletions src/actions/action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ export type actionModeType = "large" | "small" | "popup" | "removed";
*
* Action items are used in the Toolbar, matrix rows, titles of pages, panels, questions, and other survey elements.
*
* [View Demo](/form-library/examples/add-custom-navigation-button/ (linkStyle))
* [View Demo](https://surveyjs.io/form-library/examples/add-custom-navigation-button/ (linkStyle))
*/
export interface IAction {
/**
* A unique action item identifier.
*
* [View Demo](/form-library/examples/add-custom-navigation-button/ (linkStyle))
* [View Demo](https://surveyjs.io/form-library/examples/add-custom-navigation-button/ (linkStyle))
*/
id?: string;
/**
Expand All @@ -32,7 +32,7 @@ export interface IAction {
/**
* The action item's title.
*
* [View Demo](/form-library/examples/add-custom-navigation-button/ (linkStyle))
* [View Demo](https://surveyjs.io/form-library/examples/add-custom-navigation-button/ (linkStyle))
* @see showTitle
* @see disableShrink
*/
Expand Down Expand Up @@ -60,7 +60,7 @@ export interface IAction {
/**
* A function that is executed when users click the action item.
*
* [View Demo](/form-library/examples/add-custom-navigation-button/ (linkStyle))
* [View Demo](https://surveyjs.io/form-library/examples/add-custom-navigation-button/ (linkStyle))
*/
action?: (context?: any) => void;
/**
Expand All @@ -70,7 +70,7 @@ export interface IAction {
*
* To apply several classes, separate them with a space character: `"myclass1 myclass2"`.
*
* [View Demo](/form-library/examples/add-custom-navigation-button/ (linkStyle))
* [View Demo](https://surveyjs.io/form-library/examples/add-custom-navigation-button/ (linkStyle))
* @see innerCss
*/
css?: string;
Expand All @@ -81,7 +81,7 @@ export interface IAction {
*
* To apply several classes, separate them with a space character: `"myclass1 myclass2"`.
*
* [View Demo](/form-library/examples/add-custom-navigation-button/ (linkStyle))
* [View Demo](https://surveyjs.io/form-library/examples/add-custom-navigation-button/ (linkStyle))
* @see css
*/
innerCss?: string;
Expand Down Expand Up @@ -145,7 +145,7 @@ export interface IAction {
/**
* A number that specifies the action's position relative to other actions.
*
* [View Demo](/form-library/examples/add-custom-navigation-button/ (linkStyle))
* [View Demo](https://surveyjs.io/form-library/examples/add-custom-navigation-button/ (linkStyle))
*/
visibleIndex?: number;
needSpace?: boolean;
Expand Down
2 changes: 1 addition & 1 deletion src/question_multipletext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export class MultipleTextEditorModel extends QuestionTextModel {
/**
* A class that describes an item in a [Multiple Textboxes](https://surveyjs.io/form-library/documentation/api-reference/multiple-text-entry-question-model) question.
*
* [View Demo](/form-library/examples/multiple-text-box-question/)
* [View Demo](https://surveyjs.io/form-library/examples/multiple-text-box-question/)
*/
export class MultipleTextItemModel extends Base
implements IValidatorOwner, ISurveyData, ISurveyImpl {
Expand Down
4 changes: 2 additions & 2 deletions src/question_paneldynamic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ export class QuestionPanelDynamicModel extends Question
*
* If you want to customize individual tab titles, handle `SurveyModel`'s [`onGetDynamicPanelTabTitle`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onGetDynamicPanelTabTitle) event.
*
* [View Demo](/form-library/examples/tabbed-interface-for-duplicate-group-option/ (linkStyle))
* [View Demo](https://surveyjs.io/form-library/examples/tabbed-interface-for-duplicate-group-option/ (linkStyle))
* @see templateTitle
* @see renderMode
*/
Expand Down Expand Up @@ -1006,7 +1006,7 @@ export class QuestionPanelDynamicModel extends Question
* - `"progressTop"` - Renders each panel as a card and displays a progress bar at the top. [View Demo](https://surveyjs.io/form-library/examples/questiontype-paneldynamic/)
* - `"progressBottom"` - Renders each panel panel as a card and displays a progress bar at the bottom.
* - `"progressTopBottom"` - Renders each panel as a card and displays a progress bar at the top and bottom.
* - `"tab"` - Renders each panel within a tab. Use the [`templateTabTitle`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#templateTabTitle) to specify a template for tab titles. [View Demo](/form-library/examples/tabbed-interface-for-duplicate-group-option/)
* - `"tab"` - Renders each panel within a tab. Use the [`templateTabTitle`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#templateTabTitle) to specify a template for tab titles. [View Demo](https://surveyjs.io/form-library/examples/tabbed-interface-for-duplicate-group-option/)
*/
public get renderMode(): string {
return this.getPropertyValue("renderMode");
Expand Down
16 changes: 8 additions & 8 deletions src/question_rating.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ export class QuestionRatingModel extends Question {
*
* If you do not specify the `rateValues` property, rate values are generated automatically based upon the [`rateMin`](https://surveyjs.io/form-library/documentation/api-reference/rating-scale-question-model#rateMin), [`rateMax`](https://surveyjs.io/form-library/documentation/api-reference/rating-scale-question-model#rateMax), [`rateStep`](https://surveyjs.io/form-library/documentation/api-reference/rating-scale-question-model#rateStep), and [`rateCount`](https://surveyjs.io/form-library/documentation/api-reference/rating-scale-question-model#rateCount) property values.
*
* [View Demo](/form-library/examples/rating-scale/ (linkStyle))
* [View Demo](https://surveyjs.io/form-library/examples/rating-scale/ (linkStyle))
*/
public get rateValues(): Array<any> {
return this.getPropertyValue("rateValues");
Expand All @@ -214,7 +214,7 @@ export class QuestionRatingModel extends Question {
*
* Default value: 1
*
* [View Demo](/form-library/examples/rating-scale/ (linkStyle))
* [View Demo](https://surveyjs.io/form-library/examples/rating-scale/ (linkStyle))
* @see rateMax
* @see rateStep
* @see rateCount
Expand All @@ -230,7 +230,7 @@ export class QuestionRatingModel extends Question {
*
* Default value: 5
*
* [View Demo](/form-library/examples/rating-scale/ (linkStyle))
* [View Demo](https://surveyjs.io/form-library/examples/rating-scale/ (linkStyle))
* @see rateMin
* @see rateStep
* @see rateCount
Expand All @@ -246,7 +246,7 @@ export class QuestionRatingModel extends Question {
*
* Default value: 1
*
* [View Demo](/form-library/examples/rating-scale/ (linkStyle))
* [View Demo](https://surveyjs.io/form-library/examples/rating-scale/ (linkStyle))
* @see rateMin
* @see rateMax
* @see rateCount
Expand All @@ -262,7 +262,7 @@ export class QuestionRatingModel extends Question {
*
* Set the [`rateMin`](https://surveyjs.io/form-library/documentation/api-reference/rating-scale-question-model#rateMin) or [`rateMax`](https://surveyjs.io/form-library/documentation/api-reference/rating-scale-question-model#rateMax) property to specify the first or the last rate value. Use the [`rateStep`](https://surveyjs.io/form-library/documentation/api-reference/rating-scale-question-model#rateStep) property to specify a step with which to generate rate values.
*
* [View Demo](/form-library/examples/rating-scale/ (linkStyle))
* [View Demo](https://surveyjs.io/form-library/examples/rating-scale/ (linkStyle))
*/
@property({ defaultValue: 5 }) rateCount: number;

Expand Down Expand Up @@ -465,7 +465,7 @@ export class QuestionRatingModel extends Question {
* - `"dropdown"` - Displays rate values as items in a drop-down list.
* - `"auto"` (default) - Selects between the `"buttons"` and `"dropdown"` modes based on the available width. When the width is insufficient to display buttons, the question displays a dropdown.
*
* [View Demo](/form-library/examples/ui-adaptation-modes-for-rating-scale/ (linkStyle))
* [View Demo](https://surveyjs.io/form-library/examples/ui-adaptation-modes-for-rating-scale/ (linkStyle))
* @see rateType
*/
@property({
Expand All @@ -489,7 +489,7 @@ export class QuestionRatingModel extends Question {
* - `"stars"` - Displays rate values as stars.
* - `"smileys"` - Displays rate values as smiley faces.
*
* [View Demo](/form-library/examples/rating-scale/ (linkStyle))
* [View Demo](https://surveyjs.io/form-library/examples/rating-scale/ (linkStyle))
* @see scaleColorMode
* @see rateColorMode
* @see displayMode
Expand All @@ -510,7 +510,7 @@ export class QuestionRatingModel extends Question {
* - `"monochrome"` (default) - Displays emojis in monochrome.
* - `"colored"` - Displays emojis in color.
*
* [View Demo](/form-library/examples/rating-scale/ (linkStyle))
* [View Demo](https://surveyjs.io/form-library/examples/rating-scale/ (linkStyle))
* @see rateColorMode
*/
@property({ defaultValue: "monochrome" }) scaleColorMode: "monochrome" | "colored";
Expand Down
24 changes: 12 additions & 12 deletions src/survey.ts
Original file line number Diff line number Diff line change
Expand Up @@ -492,17 +492,17 @@ export class SurveyModel extends SurveyElementCore
*
* For information on event handler parameters, refer to descriptions within the interface.
*
* [View Demo](/form-library/examples/customize-survey-with-css/ (linkStyle))
* [View Demo](https://surveyjs.io/form-library/examples/customize-survey-with-css/ (linkStyle))
* @see css
*/
public onUpdateQuestionCssClasses: EventBase<SurveyModel, UpdateQuestionCssClassesEvent> = this.addEvent<SurveyModel, UpdateQuestionCssClassesEvent>();

/**
* An event that is raised before rendering a standalone panel and panels within [Dynamic Panel](/form-library/examples/duplicate-group-of-fields-in-form/). Use it to override default panel CSS classes.
* An event that is raised before rendering a standalone panel and panels within [Dynamic Panel](https://surveyjs.io/form-library/examples/duplicate-group-of-fields-in-form/). Use it to override default panel CSS classes.
*
* For information on event handler parameters, refer to descriptions within the interface.
*
* [View Demo](/form-library/examples/customize-survey-with-css/ (linkStyle))
* [View Demo](https://surveyjs.io/form-library/examples/customize-survey-with-css/ (linkStyle))
* @see css
*/
public onUpdatePanelCssClasses: EventBase<SurveyModel, UpdatePanelCssClassesEvent> = this.addEvent<SurveyModel, UpdatePanelCssClassesEvent>();
Expand All @@ -512,7 +512,7 @@ export class SurveyModel extends SurveyElementCore
*
* For information on event handler parameters, refer to descriptions within the interface.
*
* [View Demo](/form-library/examples/customize-survey-with-css/ (linkStyle))
* [View Demo](https://surveyjs.io/form-library/examples/customize-survey-with-css/ (linkStyle))
* @see css
*/
public onUpdatePageCssClasses: EventBase<SurveyModel, UpdatePageCssClassesEvent> = this.addEvent<SurveyModel, UpdatePageCssClassesEvent>();
Expand All @@ -522,7 +522,7 @@ export class SurveyModel extends SurveyElementCore
*
* For information on event handler parameters, refer to descriptions within the interface.
*
* [View Demo](/form-library/examples/customize-survey-with-css/ (linkStyle))
* [View Demo](https://surveyjs.io/form-library/examples/customize-survey-with-css/ (linkStyle))
* @see css
*/
public onUpdateChoiceItemCss: EventBase<SurveyModel, UpdateChoiceItemCssEvent> = this.addEvent<SurveyModel, UpdateChoiceItemCssEvent>();
Expand Down Expand Up @@ -626,7 +626,7 @@ export class SurveyModel extends SurveyElementCore
*/
public onMatrixRowAdding: EventBase<SurveyModel, MatrixBeforeRowAddedEvent> = this.addEvent<SurveyModel, MatrixBeforeRowAddedEvent>();
/**
* This event is obsolete. Use the [`onMatrixRowAdding`](/form-library/documentation/api-reference/survey-data-model#onMatrixRowAdding) event instead.
* This event is obsolete. Use the [`onMatrixRowAdding`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onMatrixRowAdding) event instead.
*/
public onMatrixBeforeRowAdded: EventBase<SurveyModel, MatrixBeforeRowAddedEvent> = this.onMatrixRowAdding;

Expand All @@ -649,7 +649,7 @@ export class SurveyModel extends SurveyElementCore
*/
public onMatrixRenderRemoveButton: EventBase<SurveyModel, MatrixAllowRemoveRowEvent> = this.addEvent<SurveyModel, MatrixAllowRemoveRowEvent>();
/**
* This event is obsolete. Use the [`onMatrixRenderRemoveButton`](/form-library/documentation/api-reference/survey-data-model#onMatrixRenderRemoveButton) event instead.
* This event is obsolete. Use the [`onMatrixRenderRemoveButton`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onMatrixRenderRemoveButton) event instead.
*/
public onMatrixAllowRemoveRow: EventBase<SurveyModel, MatrixAllowRemoveRowEvent> = this.onMatrixRenderRemoveButton;

Expand All @@ -671,7 +671,7 @@ export class SurveyModel extends SurveyElementCore
*/
public onAfterRenderMatrixCell: EventBase<SurveyModel, MatrixAfterCellRenderEvent> = this.addEvent<SurveyModel, MatrixAfterCellRenderEvent>();
/**
* This event is obsolete. Use the [`onAfterRenderMatrixCell`](/form-library/documentation/api-reference/survey-data-model#onAfterRenderMatrixCell) event instead.
* This event is obsolete. Use the [`onAfterRenderMatrixCell`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onAfterRenderMatrixCell) event instead.
*/
public onMatrixAfterCellRender: EventBase<SurveyModel, MatrixAfterCellRenderEvent> = this.onAfterRenderMatrixCell;

Expand Down Expand Up @@ -737,7 +737,7 @@ export class SurveyModel extends SurveyElementCore
*
* For information on event handler parameters, refer to descriptions within the interface.
*
* [View Demo](/form-library/examples/tabbed-interface-for-duplicate-group-option/ (linkStyle))
* [View Demo](https://surveyjs.io/form-library/examples/tabbed-interface-for-duplicate-group-option/ (linkStyle))
*/
public onGetDynamicPanelTabTitle: EventBase<SurveyModel, DynamicPanelGetTabTitleEvent> = this.addEvent<SurveyModel, DynamicPanelGetTabTitleEvent>();

Expand Down Expand Up @@ -1090,7 +1090,7 @@ export class SurveyModel extends SurveyElementCore
/**
* Gets or sets an object in which keys are UI elements and values are CSS classes applied to them.
*
* [View Demo](/form-library/examples/customize-survey-with-css/ (linkStyle))
* [View Demo](https://surveyjs.io/form-library/examples/customize-survey-with-css/ (linkStyle))
*/
public get css(): any {
if (!this.cssValue) {
Expand Down Expand Up @@ -7356,8 +7356,8 @@ export class SurveyModel extends SurveyElementCore
/**
* Applies a specified theme to the survey.
*
* [Themes & Styles](/form-library/documentation/manage-default-themes-and-styles (linkStyle))
* @param theme An [`ITheme`](/form-library/documentation/api-reference/itheme) object with theme settings.
* [Themes & Styles](https://surveyjs.io/form-library/documentation/manage-default-themes-and-styles (linkStyle))
* @param theme An [`ITheme`](https://surveyjs.io/form-library/documentation/api-reference/itheme) object with theme settings.
*/
public applyTheme(theme: ITheme): void {
if (!theme) return;
Expand Down

0 comments on commit 22bcef1

Please sign in to comment.