Skip to content

Class: NVEFileIcon

Vue component for displaying a file icon based on its filename.

This component uses the filename, opened, and light props to determine the icon URL, and passes it to the NVEIconElement for rendering.

Example

js
<NVEFileIcon filename="example.vue" :opened="true" :light="false" size="2rem" />

Properties

PropertyModifierType
filenamereadonlystring
lightreadonlyboolean
openedreadonlyboolean
sizereadonlystring | number
titlereadonlystring | null