@custouch/jssdk
Preparing search index...
service/resource
DocumentConfig
Type Alias DocumentConfig
type
DocumentConfig
=
{
config
?:
{
accessType
?:
DocumentAccess
;
maxPage
?:
number
;
pageTitle
:
string
;
showDownload
?:
boolean
;
showMail
?:
boolean
;
showShare
?:
boolean
;
type
:
"book"
|
"fullPage"
;
wmOptions
?:
Partial
<
{
content
:
string
;
enabled
:
boolean
;
font
:
{
color
:
string
;
lineHeight
?:
number
;
size
:
number
;
style
:
string
;
weight
:
string
;
}
;
img
:
{
placement
:
"tl"
|
"tr"
|
"center"
|
"bl"
|
"br"
;
width
:
number
}
;
multi
:
boolean
;
opacity
:
number
;
rotate
:
number
;
type
?:
"img"
|
"text"
;
}
,
>
;
}
;
documentConfigDto
?:
{
detail
:
{
accessType
:
DocumentAccess
;
actions
:
ButtonActions
;
buttonIcons
:
{
height
:
number
;
position
:
{
x
:
{
key
:
string
;
value
:
number
}
;
y
:
{
key
:
string
;
value
:
number
}
;
}
;
spacing
:
number
;
toggleFalseIcon
:
string
;
toggleTrueIcon
:
string
;
width
:
number
;
}
;
maxPage
:
number
;
type
:
"vertical"
|
"horizontal"
;
}
;
isByDefault
:
boolean
;
}
;
downloadUrl
:
string
;
hashId
:
string
;
name
:
string
;
pdfInfo
?:
{
at
:
string
;
pages
:
string
[]
;
pageSize
:
number
;
status
:
number
;
totalSize
:
string
;
}
;
pdfShare
?:
wx.ShareToUserConfig
;
source
:
string
;
}
Index
Properties
config?
document
Config
Dto?
download
Url
hash
Id
name
pdf
Info?
pdf
Share?
source
Properties
Optional
config
config
?:
{
accessType
?:
DocumentAccess
;
maxPage
?:
number
;
pageTitle
:
string
;
showDownload
?:
boolean
;
showMail
?:
boolean
;
showShare
?:
boolean
;
type
:
"book"
|
"fullPage"
;
wmOptions
?:
Partial
<
{
content
:
string
;
enabled
:
boolean
;
font
:
{
color
:
string
;
lineHeight
?:
number
;
size
:
number
;
style
:
string
;
weight
:
string
;
}
;
img
:
{
placement
:
"tl"
|
"tr"
|
"center"
|
"bl"
|
"br"
;
width
:
number
}
;
multi
:
boolean
;
opacity
:
number
;
rotate
:
number
;
type
?:
"img"
|
"text"
;
}
,
>
;
}
Optional
document
Config
Dto
documentConfigDto
?:
{
detail
:
{
accessType
:
DocumentAccess
;
actions
:
ButtonActions
;
buttonIcons
:
{
height
:
number
;
position
:
{
x
:
{
key
:
string
;
value
:
number
}
;
y
:
{
key
:
string
;
value
:
number
}
;
}
;
spacing
:
number
;
toggleFalseIcon
:
string
;
toggleTrueIcon
:
string
;
width
:
number
;
}
;
maxPage
:
number
;
type
:
"vertical"
|
"horizontal"
;
}
;
isByDefault
:
boolean
;
}
download
Url
downloadUrl
:
string
hash
Id
hashId
:
string
name
name
:
string
Optional
pdf
Info
pdfInfo
?:
{
at
:
string
;
pages
:
string
[]
;
pageSize
:
number
;
status
:
number
;
totalSize
:
string
;
}
Optional
pdf
Share
pdfShare
?:
wx.ShareToUserConfig
source
source
:
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
config
document
Config
Dto
download
Url
hash
Id
name
pdf
Info
pdf
Share
source
@custouch/jssdk
Loading...