LWT JavaScript API
Preparing search index...
modules/book/pages/book_detail
BookDetailData
Interface BookDetailData
Alpine component state for the book detail page.
interface
BookDetailData
{
book
:
Book
|
null
;
bookId
:
number
;
chapters
:
BookChapter
[]
;
error
:
string
;
isLoading
:
boolean
;
chapterCountLabel
()
:
string
;
continueHref
()
:
string
;
editHref
(
chapter
:
BookChapter
)
:
string
;
init
()
:
Promise
<
void
>
;
isCurrentChapter
(
chapter
:
BookChapter
)
:
boolean
;
load
()
:
Promise
<
void
>
;
progressLabel
()
:
string
;
readHref
(
chapter
:
BookChapter
)
:
string
;
remove
()
:
Promise
<
void
>
;
sourceLabel
()
:
string
;
}
Index
Properties
book
book
Id
chapters
error
is
Loading
Methods
chapter
Count
Label
continue
Href
edit
Href
init
is
Current
Chapter
load
progress
Label
read
Href
remove
source
Label
Properties
book
book
:
Book
|
null
book
Id
bookId
:
number
chapters
chapters
:
BookChapter
[]
error
error
:
string
is
Loading
isLoading
:
boolean
Methods
chapter
Count
Label
chapterCountLabel
()
:
string
Returns
string
continue
Href
continueHref
()
:
string
Returns
string
edit
Href
editHref
(
chapter
:
BookChapter
)
:
string
Parameters
chapter
:
BookChapter
Returns
string
init
init
()
:
Promise
<
void
>
Returns
Promise
<
void
>
is
Current
Chapter
isCurrentChapter
(
chapter
:
BookChapter
)
:
boolean
Parameters
chapter
:
BookChapter
Returns
boolean
load
load
()
:
Promise
<
void
>
Returns
Promise
<
void
>
progress
Label
progressLabel
()
:
string
Returns
string
read
Href
readHref
(
chapter
:
BookChapter
)
:
string
Parameters
chapter
:
BookChapter
Returns
string
remove
remove
()
:
Promise
<
void
>
Returns
Promise
<
void
>
source
Label
sourceLabel
()
:
string
Returns
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
book
book
Id
chapters
error
is
Loading
Methods
chapter
Count
Label
continue
Href
edit
Href
init
is
Current
Chapter
load
progress
Label
read
Href
remove
source
Label
LWT JavaScript API
Loading...
Alpine component state for the book detail page.