From 6b1a2126ecd80c816ef873bf278f73a70441c02e Mon Sep 17 00:00:00 2001 From: RomanTsukanov Date: Thu, 26 Dec 2024 12:14:52 +0400 Subject: [PATCH] Remove `onElementContentVisibilityChanged`, `getQuestionsByNames` and `getPagesByNames` from the docs --- packages/survey-core/src/survey.ts | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/packages/survey-core/src/survey.ts b/packages/survey-core/src/survey.ts index e7cd987985..1857be958b 100644 --- a/packages/survey-core/src/survey.ts +++ b/packages/survey-core/src/survey.ts @@ -66,7 +66,7 @@ import { MatrixAllowRemoveRowEvent, MatrixDetailPanelVisibleChangedEvent, MatrixCellCreatingEvent, MatrixCellCreatedEvent, MatrixAfterCellRenderEvent, MatrixCellValueChangedEvent, MatrixCellValueChangingEvent, MatrixCellValidateEvent, DynamicPanelModifiedEvent, DynamicPanelRemovingEvent, TimerPanelInfoTextEvent, DynamicPanelItemValueChangedEvent, DynamicPanelGetTabTitleEvent, DynamicPanelCurrentIndexChangedEvent, IsAnswerCorrectEvent, DragDropAllowEvent, ScrollingElementToTopEvent, GetQuestionTitleActionsEvent, - GetPanelTitleActionsEvent, GetPageTitleActionsEvent, GetPanelFooterActionsEvent, GetMatrixRowActionsEvent, ElementContentVisibilityChangedEvent, GetExpressionDisplayValueEvent, + GetPanelTitleActionsEvent, GetPageTitleActionsEvent, GetPanelFooterActionsEvent, GetMatrixRowActionsEvent, GetExpressionDisplayValueEvent, ServerValidateQuestionsEvent, MultipleTextItemAddedEvent, MatrixColumnAddedEvent, GetQuestionDisplayValueEvent, PopupVisibleChangedEvent, ChoicesSearchEvent, OpenFileChooserEvent, OpenDropdownMenuEvent, ResizeEvent } from "./survey-events-api"; @@ -851,10 +851,7 @@ export class SurveyModel extends SurveyElementCore */ public onGetMatrixRowActions: EventBase = this.addEvent(); - /** - * An event that is raised after a survey element is [expanded or collapsed](https://surveyjs.io/form-library/documentation/api-reference/question#state). - */ - public onElementContentVisibilityChanged: EventBase = this.addEvent(); + public onElementContentVisibilityChanged: EventBase = this.addEvent(); /** * An event that is raised before an [Expression](https://surveyjs.io/form-library/documentation/api-reference/expression-model) question displays a value. Use this event to override the display value. @@ -5692,13 +5689,6 @@ export class SurveyModel extends SurveyElementCore } return null; } - /** - * Returns an array of questions with specified [names](https://surveyjs.io/form-library/documentation/api-reference/question#name). - * @param names An array of question names. - * @param caseInsensitive *(Optional)* A Boolean value that specifies case sensitivity when searching for the questions. Default value: `false` (uppercase and lowercase letters are treated as distinct). - * @returns An array of questions with specified names - * @see getAllQuestions - */ public getQuestionsByNames( names: string[], caseInsensitive: boolean = false @@ -5740,10 +5730,6 @@ export class SurveyModel extends SurveyElementCore } return null; } - /** - * Returns an array of pages with specified names. - * @param names An array of page names. - */ public getPagesByNames(names: string[]): PageModel[] { var result: PageModel[] = []; if (!names) return result;