Namespace: TagsPlugin

OCA.Files.TagsPlugin

Extends the file actions and file list to include a favorite mark icon and a favorite action in the file actions menu; it also adds "data-tags" and "data-favorite" attributes to file elements.
Source:

Methods

(static) applyFileTags(fileName, tagNames, $favoriteMarkEl, isFavorite)

Replaces the given files' tags with the specified ones.
Parameters:
Name Type Description
fileName String path to the file or folder to tag
tagNames Array.<String> array of tag names
$favoriteMarkEl Object favorite mark element
isFavorite boolean Was the item favorited before
Source: