ttfiles
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
PhotoshelterAPI
Photoshelter
Collection
Photoshelter
Gallery
Photoshelter
Image
constructor
created
extra
icon
id
last
Modified
mime
Type
name
size
url
directory
add
OnChange
Listener
copy
delete
dispatch
Change
Event
move
read
readJSON
read
Text
remove
OnChange
Listener
rename
to
String
write
Collection
Children
Collection
Data
Gallery
Data
Image
Data
Hierarchy
BasicFile
PhotoshelterImage
Implements
File
Index
Constructors
constructor
Properties
created
extra
icon
id
last
Modified
mime
Type
name
size
url
Accessors
directory
Methods
add
OnChange
Listener
copy
delete
dispatch
Change
Event
move
read
readJSON
read
Text
remove
OnChange
Listener
rename
to
String
write
Constructors
constructor
new
Photoshelter
Image
(
data
:
ImageData
, api
:
PhotoshelterAPI
)
:
PhotoshelterImage
Parameters
data:
ImageData
api:
PhotoshelterAPI
Returns
PhotoshelterImage
Properties
created
created
:
Date
extra
extra
:
object
Type declaration
icon
icon
:
null
= null
id
id
:
string
last
Modified
last
Modified
:
Date
mime
Type
mime
Type
:
string
name
name
:
string
size
size
:
number
url
url
:
null
= null
Accessors
directory
directory
:
Methods
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
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
>
to
String
to
String
(
)
:
string
Returns
string
write
write
(
data
:
ArrayBuffer
)
:
Promise
<
ArrayBuffer
>
Parameters
data:
ArrayBuffer
Returns
Promise
<
ArrayBuffer
>
Generated using
TypeDoc