Interface MediaLibraryService
Methods
getPathMeta
- getPathMeta(path: string, successCallback: function, errorCallback?: undefined | function): void
-
Parameters
-
path: string
-
successCallback: function
-
Optional errorCallback: undefined | function
Returns void
open
- open(title: string, multiselect: boolean, mode: "all" | "image" | "sound" | "flash", showMediaTabs: boolean, showFontAwesomeTab?: undefined | false | true, customContentCallback?: null | function): MediaLibrary
-
Parameters
-
title: string
-
multiselect: boolean
-
mode: "all" | "image" | "sound" | "flash"
-
showMediaTabs: boolean
-
Optional showFontAwesomeTab: undefined | false | true
-
Optional customContentCallback: null | function
setPathMeta
- setPathMeta(path: string, meta: MediaLibraryMeta, successCallback?: undefined | function, errorCallback?: undefined | function): void
-
Parameters
-
path: string
-
-
Optional successCallback: undefined | function
-
Optional errorCallback: undefined | function
Returns void