LWT JavaScript API
Preparing search index...
modules/vocabulary/components/word_popover
WordPopoverData
Interface WordPopoverData
Word popover Alpine.js component interface.
interface
WordPopoverData
{
isLoading
:
boolean
;
isOpen
:
boolean
;
isUnknown
:
boolean
;
popoverEl
:
HTMLElement
|
null
;
position
:
PopoverPosition
;
statuses
:
StatusInfo
[]
;
store
:
WordStoreState
;
word
:
WordData
|
null
;
calculatePosition
()
:
void
;
close
()
:
void
;
deleteWord
()
:
Promise
<
void
>
;
getDictUrl
(
which
:
"dict1"
|
"dict2"
|
"translator"
)
:
string
;
getPositionStyle
()
:
string
;
getStatusButtonClass
(
status
:
number
)
:
string
;
handleClickOutside
(
event
:
MouseEvent
)
:
void
;
handleEscape
(
event
:
KeyboardEvent
)
:
void
;
init
()
:
void
;
isCurrentStatus
(
status
:
number
)
:
boolean
;
markIgnored
()
:
Promise
<
void
>
;
markWellKnown
()
:
Promise
<
void
>
;
openEditForm
()
:
void
;
setStatus
(
status
:
number
)
:
Promise
<
void
>
;
speakWord
()
:
void
;
}
Index
Properties
is
Loading
is
Open
is
Unknown
popover
El
position
statuses
store
word
Methods
calculate
Position
close
delete
Word
get
Dict
Url
get
Position
Style
get
Status
Button
Class
handle
Click
Outside
handle
Escape
init
is
Current
Status
mark
Ignored
mark
Well
Known
open
Edit
Form
set
Status
speak
Word
Properties
Readonly
is
Loading
isLoading
:
boolean
Readonly
is
Open
isOpen
:
boolean
Readonly
is
Unknown
isUnknown
:
boolean
popover
El
popoverEl
:
HTMLElement
|
null
position
position
:
PopoverPosition
Readonly
statuses
statuses
:
StatusInfo
[]
Readonly
store
store
:
WordStoreState
Readonly
word
word
:
WordData
|
null
Methods
calculate
Position
calculatePosition
()
:
void
Returns
void
close
close
()
:
void
Returns
void
delete
Word
deleteWord
()
:
Promise
<
void
>
Returns
Promise
<
void
>
get
Dict
Url
getDictUrl
(
which
:
"dict1"
|
"dict2"
|
"translator"
)
:
string
Parameters
which
:
"dict1"
|
"dict2"
|
"translator"
Returns
string
get
Position
Style
getPositionStyle
()
:
string
Returns
string
get
Status
Button
Class
getStatusButtonClass
(
status
:
number
)
:
string
Parameters
status
:
number
Returns
string
handle
Click
Outside
handleClickOutside
(
event
:
MouseEvent
)
:
void
Parameters
event
:
MouseEvent
Returns
void
handle
Escape
handleEscape
(
event
:
KeyboardEvent
)
:
void
Parameters
event
:
KeyboardEvent
Returns
void
init
init
()
:
void
Returns
void
is
Current
Status
isCurrentStatus
(
status
:
number
)
:
boolean
Parameters
status
:
number
Returns
boolean
mark
Ignored
markIgnored
()
:
Promise
<
void
>
Returns
Promise
<
void
>
mark
Well
Known
markWellKnown
()
:
Promise
<
void
>
Returns
Promise
<
void
>
open
Edit
Form
openEditForm
()
:
void
Returns
void
set
Status
setStatus
(
status
:
number
)
:
Promise
<
void
>
Parameters
status
:
number
Returns
Promise
<
void
>
speak
Word
speakWord
()
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
is
Loading
is
Open
is
Unknown
popover
El
position
statuses
store
word
Methods
calculate
Position
close
delete
Word
get
Dict
Url
get
Position
Style
get
Status
Button
Class
handle
Click
Outside
handle
Escape
init
is
Current
Status
mark
Ignored
mark
Well
Known
open
Edit
Form
set
Status
speak
Word
LWT JavaScript API
Loading...
Word popover Alpine.js component interface.