ttfiles
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
PhotoshelterAPI
Photoshelter
Collection
Photoshelter
Gallery
constructor
created
extra
icon
id
last
Modified
name
size
directory
mime
Type
url
mime
Type
add
Directory
add
File
add
OnChange
Listener
copy
delete
dispatch
Change
Event
get
Children
get
File
move
read
readJSON
read
Text
remove
OnChange
Listener
rename
search
to
String
write
Photoshelter
Image
Collection
Children
Collection
Data
Gallery
Data
Image
Data
Hierarchy
Directory
PhotoshelterGallery
Implements
File
Index
Constructors
constructor
Properties
created
extra
icon
id
last
Modified
name
size
Accessors
directory
mime
Type
url
mime
Type
Methods
add
Directory
add
File
add
OnChange
Listener
copy
delete
dispatch
Change
Event
get
Children
get
File
move
read
readJSON
read
Text
remove
OnChange
Listener
rename
search
to
String
write
Constructors
constructor
new
Photoshelter
Gallery
(
data
:
GalleryData
, api
:
PhotoshelterAPI
)
:
PhotoshelterGallery
Parameters
data:
GalleryData
api:
PhotoshelterAPI
Returns
PhotoshelterGallery
Properties
created
created
:
Date
extra
extra
:
object
Type declaration
icon
icon
:
null
= null
id
id
:
string
last
Modified
last
Modified
:
Date
name
name
:
string
size
size
:
number
Accessors
directory
directory
:
mime
Type
mime
Type
:
url
url
:
Static
mime
Type
mime
Type
:
Methods
add
Directory
add
Directory
(
name
:
string
)
:
Promise
<
Directory
>
Parameters
name:
string
Returns
Promise
<
Directory
>
add
File
add
File
(
fileData
:
ArrayBuffer
, filename
:
string
, mimeType
:
undefined
|
string
)
:
Promise
<
File
>
Parameters
fileData:
ArrayBuffer
filename:
string
Optional
mimeType:
undefined
|
string
Returns
Promise
<
File
>
add
OnChange
Listener
add
OnChange
Listener
(
listener
:
function
)
:
void
Parameters
listener:
function
(
file
:
File
)
:
void
Parameters
file:
File
Returns
void
Returns
void
copy
copy
(
targetDirectory
:
Directory
)
:
Promise
<
void
>
Parameters
targetDirectory:
Directory
Returns
Promise
<
void
>
delete
delete
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
dispatch
Change
Event
dispatch
Change
Event
(
)
:
void
Returns
void
get
Children
get
Children
(
)
:
Promise
<
File
[]
>
Returns
Promise
<
File
[]
>
get
File
get
File
(
pathArray
:
string
[]
)
:
Promise
<
File
>
Parameters
pathArray:
string
[]
Returns
Promise
<
File
>
The file object located at the given path.
move
move
(
targetDirectory
:
Directory
)
:
Promise
<
void
>
Parameters
targetDirectory:
Directory
Returns
Promise
<
void
>
read
read
(
)
:
Promise
<
ArrayBuffer
>
Returns
Promise
<
ArrayBuffer
>
readJSON
readJSON
(
)
:
Promise
<
any
>
Returns
Promise
<
any
>
read
Text
read
Text
(
)
:
Promise
<
string
>
Returns
Promise
<
string
>
remove
OnChange
Listener
remove
OnChange
Listener
(
listener
:
function
)
:
void
Parameters
listener:
function
(
file
:
File
)
:
void
Parameters
file:
File
Returns
void
Returns
void
rename
rename
(
newName
:
string
)
:
Promise
<
void
>
Parameters
newName:
string
Returns
Promise
<
void
>
search
search
(
query
:
string
)
:
Promise
<
SearchResult
[]
>
Parameters
query:
string
Returns
Promise
<
SearchResult
[]
>
to
String
to
String
(
)
:
string
Returns
string
write
write
(
data
:
ArrayBuffer
)
:
Promise
<
ArrayBuffer
>
Parameters
data:
ArrayBuffer
Returns
Promise
<
ArrayBuffer
>
Generated using
TypeDoc