mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-3587] Fixed doc comment problems (#3822)
* [ADF-3587] Fixed missing docs for accessor properties * [ADF-3587] Fixed badly formed doc comments with deprecated tag * [ADF-3587] Fixed linting issue with doc comment
This commit is contained in:
committed by
Eugenio Romano
parent
95a91c670d
commit
431bde3ddf
@@ -166,8 +166,10 @@ export class DocumentListComponent implements OnInit, OnChanges, OnDestroy, Afte
|
||||
@Input()
|
||||
currentFolderId: string = null;
|
||||
|
||||
/** @deprecated 2.3.0 use currentFolderId or node */
|
||||
/** Currently displayed folder node */
|
||||
/**
|
||||
* Currently displayed folder node
|
||||
* @deprecated 2.3.0 - use currentFolderId or node
|
||||
*/
|
||||
@Input()
|
||||
folderNode: MinimalNodeEntryEntity = null;
|
||||
|
||||
@@ -179,13 +181,17 @@ export class DocumentListComponent implements OnInit, OnChanges, OnDestroy, Afte
|
||||
@Input()
|
||||
maxItems: number;
|
||||
|
||||
/** @deprecated 2.3.0 define it in pagination */
|
||||
/** Number of elements to skip over for pagination purposes */
|
||||
/**
|
||||
* Number of elements to skip over for pagination purposes
|
||||
* @deprecated 2.3.0 - define it in pagination
|
||||
*/
|
||||
@Input()
|
||||
skipCount: number = 0;
|
||||
|
||||
/** @deprecated 2.3.0 */
|
||||
/** Set document list to work in infinite scrolling mode */
|
||||
/**
|
||||
* Set document list to work in infinite scrolling mode
|
||||
* @deprecated 2.3.0
|
||||
*/
|
||||
@Input()
|
||||
enableInfiniteScrolling: boolean = false;
|
||||
|
||||
|
@@ -150,7 +150,8 @@ export class DocumentListService {
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated 2.3.0. Gets a folder node via its node ID.
|
||||
* Gets a folder node via its node ID.
|
||||
* @deprecated 2.3.0
|
||||
* @param nodeId ID of the folder node
|
||||
* @param includeFields Extra information to include (available options are "aspectNames", "isLink" and "association")
|
||||
* @returns Details of the folder
|
||||
@@ -194,7 +195,8 @@ export class DocumentListService {
|
||||
}
|
||||
|
||||
/**
|
||||
* @Deprecated 2.3.0 - use the equivalent in the content service. Checks if a node has the specified permission.
|
||||
* Checks if a node has the specified permission.
|
||||
* @deprecated 2.3.0 - use the equivalent in the content service
|
||||
* @param node Target node
|
||||
* @param permission Permission level to query
|
||||
* @returns True if the node has the permission, false otherwise
|
||||
|
Reference in New Issue
Block a user