Preparing search index...
The search index is not available
Annoto Player - v5.4.1
Annoto Player
scripts/widget/service
WidgetService
Class WidgetService
Hierarchy
WidgetService
Implements
IWidgetService
Index
Constructors
constructor
Properties
asset
Loader
element
player
Element
Accessors
is
Booted
is
Ready
Methods
destroy
get
Api
load
set
Services
setup
Constructors
constructor
new
Widget
Service
(
)
:
WidgetService
Returns
WidgetService
Properties
asset
Loader
asset
Loader
:
AssetLoader
element
element
:
HTMLElement
player
Element
player
Element
:
string
|
HTMLElement
Accessors
is
Booted
get
isBooted
(
)
:
boolean
Returns
boolean
is
Ready
get
isReady
(
)
:
boolean
Returns
boolean
Methods
destroy
destroy
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
get
Api
get
Api
(
)
:
Promise
<
IAnnotoApi
>
Returns
Promise
<
IAnnotoApi
>
load
load
(
playerElement
,
host
?
)
:
Promise
<
void
>
Parameters
playerElement
:
string
|
HTMLElement
Optional
host
:
HTMLElement
Returns
Promise
<
void
>
set
Services
set
Services
(
logger
,
authProvider
?
)
:
void
Parameters
logger
:
ILogger
Optional
authProvider
:
IAuthProvider
Returns
void
setup
setup
(
config
?
,
bootstrapUrl
?
)
:
Promise
<
void
>
Parameters
Optional
config
:
IConfig
<
IFeatures
>
bootstrapUrl
:
string
= 'https://cdn.annoto.net/widget/latest/bootstrap.js'
Returns
Promise
<
void
>
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
constructor
asset
Loader
element
player
Element
is
Booted
is
Ready
destroy
get
Api
load
set
Services
setup
Annoto Player - v5.4.1
Main
Player
Widget
[Plugin]Layout
[Plugin]Pip
[Plugin]Timecut
scripts/player/interfaces
scripts/widget/interfaces
scripts/widget/service