t×tecexpressby TeKOcloud
DEv0.7.1
Files & maps / VUE

TxFileManager.

Interactive preview

Directory navigation and file actions. Provider capabilities determine available operations; no file server is included.

PropTypeDefaultMeaning
dataSourceTxSource<TxFileEntry> | undefinedundefinedList, configuration or DataSource instance; takes precedence over items.
providerTxFileProviderrequiredFile provider with supported operations.
disabledboolean | undefinedfalseDisables interaction.
viewstring | undefineddetailsDisplay mode.
labelstring | undefinedDateimanagerLabel or accessible name.

Events

EventPayload / behavior
selectionChangedNew selection: TxFileEntry[].
fileOpenedActivated TxFileEntry.
errorFile operation error object.
vue
<script setup lang="ts">
import { TxFileManager, TxMemoryFileProvider } from '@tekocloud.de/tecexpress'
import '@tekocloud.de/tecexpress/themes/index.css'
const provider = new TxMemoryFileProvider([{ id: '1', parentId: null, name: 'Documents', isDirectory: true }])
</script>

<template>
  <TxFileManager :provider="provider" />
</template>