Skip to content

Commit

Permalink
Describe the tabTitlePlaceholder property
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanTsukanov committed Jun 18, 2024
1 parent 964968f commit 17d4c75
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/question_paneldynamic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,7 @@ export class QuestionPanelDynamicModel extends Question
*
* [View Demo](https://surveyjs.io/form-library/examples/tabbed-interface-for-duplicate-group-option/ (linkStyle))
* @see templateTitle
* @see tabTitlePlaceholder
* @see renderMode
*/
public get templateTabTitle(): string {
Expand All @@ -427,6 +428,11 @@ export class QuestionPanelDynamicModel extends Question
get locTemplateTabTitle(): LocalizableString {
return this.getLocalizableString("templateTabTitle");
}
/**
* A placeholder for tab titles that applies when the [`templateTabTitle`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#templateTabTitle) expression doesn't produce a meaningful value.
*
* Default value: `"New Panel"` (taken from a [localization dictionary](https://github.com/surveyjs/survey-library/tree/master/src/localization))
*/
public get tabTitlePlaceholder(): string {
return this.locTabTitlePlaceholder.text;
}
Expand Down

0 comments on commit 17d4c75

Please sign in to comment.