Namespace: Files

OCA.Files

Namespace for the files app
Source:

Classes

BreadCrumb
DetailFileInfoView
DetailsView
DetailTabView
FavoritesFileList
FileActions
FileActionsMenu
FileList
FileSummary
MainFileInfoDetailView
Navigation
NewFileMenu

Namespaces

App

Members

(static) FileInfoModel

Source:

Type Definitions

FileAction

File action attributes.
Type:
Properties:
Name Type Attributes Description
name String identifier of the action
displayName String | OCA.Files.FileActions~displayNameFunction display name string for the action, or function that returns the display name. Defaults to the name given in name property
mime String mime type
permissions int permissions
icon function | String icon path to the icon or function that returns it (deprecated, use iconClass instead)
iconClass function | String class name of the icon (recommended for theming)
render OCA.Files.FileActions~renderActionFunction <optional>
optional rendering function
actionHandler OCA.Files.FileActions~actionHandler action handler function
Source:
To Do:
  • make this a real class in the future

FileActionContext

File action context attributes.
Type:
Properties:
Name Type Description
$file Object jQuery file row element
fileActions OCA.Files.FileActions file actions object
fileList OCA.Files.FileList file list object
Source: