FolderCounterOptions
FolderCounterOptions =
object
Properties
id?
optionalid:string
Optional Gadget-ID.
title?
optionaltitle:string
Alternative Title
folders
folders:
GadgetFolder[]
Array of folders to use.
folders: [{
id: "1234",
name: "key",
label: "Eingang",
size: 10
}],
sumSizeFromSubfolder?
optionalsumSizeFromSubfolder:boolean
Should display a sum from all subfolder
collapsed?
optionalcollapsed:boolean
Should collapse all sub folders?
Default
false
animateSize?
optionalanimateSize:boolean
Should animate the count up of total files?
Default
true
callbackScript?
optionalcallbackScript:string
Define a custom callback script, which should be called, when iterating through sub folders.
Default
"ou.sp.gadget.FolderCounterHandler"
renderType?
optionalrenderType:"dashboard"|"gadget"
Specifies how the gadget should render itself.
If dashboard, the gadget will provide a doTile() function.
If gadget, the gadget will provide a build() function, which should be set as gadgetAction.
Default
"gadget"