在對話框中展示文件,並使用可擴展的 MIME 類型渲染器註冊表。
lr-document-viewer
import '@aceshooting/lyra-ui/components/lr-document-viewer.js';
閱讀指南(英文)