From af552aa0ce1a688602e89bc8e9ff7531abf3d6d7 Mon Sep 17 00:00:00 2001 From: Yasa-Nataliya Date: Mon, 9 Oct 2023 13:48:53 +0530 Subject: [PATCH] [ACS-5645] Lint fixes --- .../content-metadata.component.ts | 32 ++++++++++++------- 1 file changed, 21 insertions(+), 11 deletions(-) diff --git a/lib/content-services/src/lib/content-metadata/components/content-metadata/content-metadata.component.ts b/lib/content-services/src/lib/content-metadata/components/content-metadata/content-metadata.component.ts index 7713e08588..88a1c2a5d7 100644 --- a/lib/content-services/src/lib/content-metadata/components/content-metadata/content-metadata.component.ts +++ b/lib/content-services/src/lib/content-metadata/components/content-metadata/content-metadata.component.ts @@ -139,7 +139,8 @@ export class ContentMetadataComponent implements OnChanges, OnInit, OnDestroy { /** * Emitted when content's editable state is changed. * - * @Output + * @event editableChange + * @type {EventEmitter} */ @Output() editableChange = new EventEmitter(); @@ -147,19 +148,26 @@ export class ContentMetadataComponent implements OnChanges, OnInit, OnDestroy { /** * Emitted when content's editableTags state is changed. * - * @Output + * @event editableTagsChange + * @type {EventEmitter} */ @Output() editableTagsChange = new EventEmitter(); - /** Emitted when content's editableCategories state is changed. **/ + /** + * Emitted when content's editableCategories state is changed. + * + * @event editableCategoriesChange + * @type {EventEmitter} + */ @Output() editableCategoriesChange = new EventEmitter(); /** * Emitted when content's group state is changed. * - * @Output + * @event groupChange + * @type {EventEmitter} */ @Output() groupChange = new EventEmitter(); @@ -167,7 +175,7 @@ export class ContentMetadataComponent implements OnChanges, OnInit, OnDestroy { /** * (optional) This flag toggles editable of categories content. * - * @Input + * @type {boolean} */ @Input() editableCategories = false; @@ -175,15 +183,15 @@ export class ContentMetadataComponent implements OnChanges, OnInit, OnDestroy { /** * (optional) This flag toggles editable of tags content. * - * @Input + * @type {boolean} */ @Input() editableTags = false; /** - * group content state - * @Input() - * group: CardViewGroup; + * Group content state + * + * @Input group: CardViewGroup; */ @Input() group: CardViewGroup; @@ -313,9 +321,11 @@ export class ContentMetadataComponent implements OnChanges, OnInit, OnDestroy { } /** - * Called after clicking save button. It confirms all changes done for metadata and hides both category and tag name controls. + * Called after clicking the save button. It confirms all changes done for metadata and hides both category and tag name controls. * - * @param Before clicking on that button they are not saved. + * @param {string} buttonType - The type of button clicked. + * @param {Event} event - The click event. + * @param {string} group - The group associated with the action. */ saveChanges(buttonType: ButtonType, event: MouseEvent, group?: CardViewGroup) { event.stopPropagation();