{
  "$schema": "https://ai.syncfusion.com/schema/registry-item.json",
  "name": "file-manager-tooltip-customization",
  "framework": "javascript",
  "type": "registry:component",
  "component": "FileManager",
  "variant": "tooltip-customization",
  "dependencies": [
    "@syncfusion/ej2-filemanager"
  ],
  "description": "File manager that customizes item tooltips to show the file name and modified date on hover.",
  "meta": {
    "essentialStudioRelease": "2026 Volume 3 (v35.1.37)",
    "license": "commercial-or-community",
    "licenseNote": "The Syncfusion package is licensed. The composition in this file is source you own and edit. See https://ai.syncfusion.com/licensing.md",
    "requiresLicenseKey": true,
    "requiresServerEndpoint": true,
    "platformIndex": "https://ai.syncfusion.com/javascript/llms.txt",
    "skillPack": "syncfusion/javascript-ui-components-skills",
    "docs": "https://ai.syncfusion.com/gallery/javascript/file-manager-tooltip-customization.md"
  },
  "files": [
    {
      "target": "src/components/file-manager-tooltip-customization/file-manager.html",
      "content": "<div class=\"control-section\">\n    <div class=\"sample-container\">\n        <div class=\"filemanagerContainer\">\n            <!-- Initialize FileManager -->\n            <div id=\"container\"></div>\n        </div>\n    </div>\n</div>\n"
    },
    {
      "target": "src/components/file-manager-tooltip-customization/file-manager.ts",
      "content": "import { FileManager, Toolbar, NavigationPane, DetailsView, type FileLoadEventArgs } from '@syncfusion/ej2-filemanager';\nimport { getValue, select } from '@syncfusion/ej2-base';\n\nFileManager.Inject(Toolbar, NavigationPane, DetailsView);\n\n/**\n * File Manager tooltip customization sample\n */\nexport function initFileManagerTooltipCustomization(): void {\n    let hostUrl: string = 'https://physical-service.syncfusion.com/';\n    let fileObject: FileManager = new FileManager({\n        ajaxSettings: {\n            url: hostUrl + 'api/FileManager/FileOperations',\n            getImageUrl: hostUrl + 'api/FileManager/GetImage',\n            uploadUrl: hostUrl + 'api/FileManager/Upload',\n            downloadUrl: hostUrl + 'api/FileManager/Download'\n        },\n        fileLoad: fileLoad,\n        height: '375px'\n    });\n    fileObject.appendTo('#container');\n\n    function fileLoad(args: FileLoadEventArgs): void {\n        //Native tooltip customization to display additonal information in new line\n        let target: Element = args.element as Element;\n        if (args.module === 'DetailsView') {\n            let element: Element = select('[title]', target);\n            let title: string = getValue('name', args.fileDetails) +\n                '\\n' + getValue('dateModified', args.fileDetails);\n            element.setAttribute('title', title);\n        } else if (args.module === 'LargeIconsView') {\n            let title: string = getValue('name', args.fileDetails) +\n                '\\n' + getValue('dateModified', args.fileDetails);\n            target.setAttribute('title', title);\n        }\n    }\n}\n"
    }
  ]
}