LWT JavaScript API
Preparing search index...
modules/text/pages/text_print_app
TextPrintAppData
Interface TextPrintAppData
Alpine.js component data interface.
interface
TextPrintAppData
{
annConfig
:
AnnotationConfig
|
null
;
annItems
:
AnnotationItem
[]
|
null
;
annotationFlags
:
number
;
config
:
PrintConfig
|
null
;
items
:
PrintItem
[]
;
loading
:
boolean
;
mode
:
PrintMode
;
placementMode
:
number
;
showRom
:
boolean
;
showTags
:
boolean
;
showTrans
:
boolean
;
statusFilter
:
number
;
textId
:
number
;
checkStatusInRange
(
status
:
number
|
null
)
:
boolean
;
confirmDeleteAnnotation
(
textId
:
number
,
message
:
string
)
:
void
;
confirmNavigateTo
(
url
:
string
,
message
:
string
)
:
void
;
formatAnnotationItem
(
item
:
AnnotationItem
)
:
string
;
formatItem
(
item
:
PrintItem
)
:
string
;
formatTermBehind
(
term
:
string
,
rom
:
string
,
trans
:
string
,
showRom
:
boolean
,
showTrans
:
boolean
,
)
:
string
;
formatTermInFront
(
term
:
string
,
rom
:
string
,
trans
:
string
,
showRom
:
boolean
,
showTrans
:
boolean
,
)
:
string
;
formatTermRuby
(
term
:
string
,
rom
:
string
,
trans
:
string
,
showRom
:
boolean
,
showTrans
:
boolean
,
)
:
string
;
getAnnConfigTextSize
(
fallback
:
number
)
:
number
;
getAnnConfigTitle
(
fallback
:
string
)
:
string
;
getConfigTextSize
(
fallback
:
number
)
:
number
;
getConfigTitle
(
fallback
:
string
)
:
string
;
handleAnnotationChange
(
event
:
Event
)
:
void
;
handlePlacementChange
(
event
:
Event
)
:
void
;
handlePrint
()
:
void
;
handleStatusChange
(
event
:
Event
)
:
void
;
init
()
:
Promise
<
void
>
;
loadAnnotation
()
:
Promise
<
void
>
;
loadPrintItems
()
:
Promise
<
void
>
;
navigateTo
(
url
:
string
)
:
void
;
openWindow
(
url
:
string
)
:
void
;
saveSettings
()
:
Promise
<
void
>
;
setAnnotationItemHtml
(
el
:
HTMLElement
,
item
:
AnnotationItem
)
:
void
;
setItemHtml
(
el
:
HTMLElement
,
item
:
PrintItem
)
:
void
;
}
Index
Properties
ann
Config
ann
Items
annotation
Flags
config
items
loading
mode
placement
Mode
show
Rom
show
Tags
show
Trans
status
Filter
text
Id
Methods
check
Status
In
Range
confirm
Delete
Annotation
confirm
Navigate
To
format
Annotation
Item
format
Item
format
Term
Behind
format
Term
In
Front
format
Term
Ruby
get
Ann
Config
Text
Size
get
Ann
Config
Title
get
Config
Text
Size
get
Config
Title
handle
Annotation
Change
handle
Placement
Change
handle
Print
handle
Status
Change
init
load
Annotation
load
Print
Items
navigate
To
open
Window
save
Settings
set
Annotation
Item
Html
set
Item
Html
Properties
ann
Config
annConfig
:
AnnotationConfig
|
null
ann
Items
annItems
:
AnnotationItem
[]
|
null
annotation
Flags
annotationFlags
:
number
config
config
:
PrintConfig
|
null
items
items
:
PrintItem
[]
loading
loading
:
boolean
mode
mode
:
PrintMode
placement
Mode
placementMode
:
number
show
Rom
showRom
:
boolean
show
Tags
showTags
:
boolean
show
Trans
showTrans
:
boolean
status
Filter
statusFilter
:
number
text
Id
textId
:
number
Methods
check
Status
In
Range
checkStatusInRange
(
status
:
number
|
null
)
:
boolean
Parameters
status
:
number
|
null
Returns
boolean
confirm
Delete
Annotation
confirmDeleteAnnotation
(
textId
:
number
,
message
:
string
)
:
void
Parameters
textId
:
number
message
:
string
Returns
void
confirm
Navigate
To
confirmNavigateTo
(
url
:
string
,
message
:
string
)
:
void
Parameters
url
:
string
message
:
string
Returns
void
format
Annotation
Item
formatAnnotationItem
(
item
:
AnnotationItem
)
:
string
Parameters
item
:
AnnotationItem
Returns
string
format
Item
formatItem
(
item
:
PrintItem
)
:
string
Parameters
item
:
PrintItem
Returns
string
format
Term
Behind
formatTermBehind
(
term
:
string
,
rom
:
string
,
trans
:
string
,
showRom
:
boolean
,
showTrans
:
boolean
,
)
:
string
Parameters
term
:
string
rom
:
string
trans
:
string
showRom
:
boolean
showTrans
:
boolean
Returns
string
format
Term
In
Front
formatTermInFront
(
term
:
string
,
rom
:
string
,
trans
:
string
,
showRom
:
boolean
,
showTrans
:
boolean
,
)
:
string
Parameters
term
:
string
rom
:
string
trans
:
string
showRom
:
boolean
showTrans
:
boolean
Returns
string
format
Term
Ruby
formatTermRuby
(
term
:
string
,
rom
:
string
,
trans
:
string
,
showRom
:
boolean
,
showTrans
:
boolean
,
)
:
string
Parameters
term
:
string
rom
:
string
trans
:
string
showRom
:
boolean
showTrans
:
boolean
Returns
string
get
Ann
Config
Text
Size
getAnnConfigTextSize
(
fallback
:
number
)
:
number
Parameters
fallback
:
number
Returns
number
get
Ann
Config
Title
getAnnConfigTitle
(
fallback
:
string
)
:
string
Parameters
fallback
:
string
Returns
string
get
Config
Text
Size
getConfigTextSize
(
fallback
:
number
)
:
number
Parameters
fallback
:
number
Returns
number
get
Config
Title
getConfigTitle
(
fallback
:
string
)
:
string
Parameters
fallback
:
string
Returns
string
handle
Annotation
Change
handleAnnotationChange
(
event
:
Event
)
:
void
Parameters
event
:
Event
Returns
void
handle
Placement
Change
handlePlacementChange
(
event
:
Event
)
:
void
Parameters
event
:
Event
Returns
void
handle
Print
handlePrint
()
:
void
Returns
void
handle
Status
Change
handleStatusChange
(
event
:
Event
)
:
void
Parameters
event
:
Event
Returns
void
init
init
()
:
Promise
<
void
>
Returns
Promise
<
void
>
load
Annotation
loadAnnotation
()
:
Promise
<
void
>
Returns
Promise
<
void
>
load
Print
Items
loadPrintItems
()
:
Promise
<
void
>
Returns
Promise
<
void
>
navigate
To
navigateTo
(
url
:
string
)
:
void
Parameters
url
:
string
Returns
void
open
Window
openWindow
(
url
:
string
)
:
void
Parameters
url
:
string
Returns
void
save
Settings
saveSettings
()
:
Promise
<
void
>
Returns
Promise
<
void
>
set
Annotation
Item
Html
setAnnotationItemHtml
(
el
:
HTMLElement
,
item
:
AnnotationItem
)
:
void
Parameters
el
:
HTMLElement
item
:
AnnotationItem
Returns
void
set
Item
Html
setItemHtml
(
el
:
HTMLElement
,
item
:
PrintItem
)
:
void
Parameters
el
:
HTMLElement
item
:
PrintItem
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
ann
Config
ann
Items
annotation
Flags
config
items
loading
mode
placement
Mode
show
Rom
show
Tags
show
Trans
status
Filter
text
Id
Methods
check
Status
In
Range
confirm
Delete
Annotation
confirm
Navigate
To
format
Annotation
Item
format
Item
format
Term
Behind
format
Term
In
Front
format
Term
Ruby
get
Ann
Config
Text
Size
get
Ann
Config
Title
get
Config
Text
Size
get
Config
Title
handle
Annotation
Change
handle
Placement
Change
handle
Print
handle
Status
Change
init
load
Annotation
load
Print
Items
navigate
To
open
Window
save
Settings
set
Annotation
Item
Html
set
Item
Html
LWT JavaScript API
Loading...
Alpine.js component data interface.