mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-2905] Added JSDocs for core (#3281)
* [ADF-2905] Updated JSDocs for core * [ADF-2905] Added missing JSDoc for user pref service
This commit is contained in:
committed by
Eugenio Romano
parent
d456b3cba1
commit
dd1b8893cc
@@ -158,6 +158,7 @@ export class ThumbnailService {
|
||||
/**
|
||||
* Gets a thumbnail URL for the given document node.
|
||||
* @param node Node to get URL for.
|
||||
* @returns URL string
|
||||
*/
|
||||
public getDocumentThumbnailUrl(node: any): string {
|
||||
let thumbnail = this.contentService.getDocumentThumbnailUrl(node);
|
||||
@@ -167,6 +168,7 @@ export class ThumbnailService {
|
||||
/**
|
||||
* Gets a thumbnail URL for a MIME type.
|
||||
* @param mimeType MIME type for the thumbnail
|
||||
* @returns URL string
|
||||
*/
|
||||
public getMimeTypeIcon(mimeType: string): string {
|
||||
let icon = this.mimeTypeIcons[mimeType];
|
||||
@@ -175,6 +177,7 @@ export class ThumbnailService {
|
||||
|
||||
/**
|
||||
* Gets a "miscellaneous" thumbnail URL for types with no other icon defined.
|
||||
* @returns URL string
|
||||
*/
|
||||
public getDefaultMimeTypeIcon(): string {
|
||||
return this.DEFAULT_ICON;
|
||||
|
Reference in New Issue
Block a user