mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
* [ADF-2334] Added version and status metadata to doc files * [ADF-2334] Tidier looking metadata for guide pages
545 B
545 B
Added, Status
Added | Status |
---|---|
v2.0.0 | Active |
Mime Type Icon pipe
Retrieves an icon to represent a MIME type.
Basic Usage
<div>
<img src='{{ "image/jpeg" | adfMimeTypeIcon }}' />
</div>
Details
The pipe takes a MIME type as input and returns the URL of an SVG file that symbolizes that type (see the Thumbnail service for the mapping between types and icons). The pipe will return a "miscellaneous" icon when no specific mapping is defined.