Discolink
GitHub
Docs
Preparing search index...
Typings
PlayerPlugin
Interface PlayerPlugin<EventMap>
Interface for plugins to implement
interface
PlayerPlugin
<
EventMap
extends
Record
<
string
,
unknown
[]
>
=
{}
>
{
_
:
EventMap
;
name
:
string
;
init
(
player
:
Player
)
:
void
;
}
Type Parameters
EventMap
extends
Record
<
string
,
unknown
[]
>
=
{}
Index
Properties
_
name
Methods
init
Properties
Readonly
_
_
:
EventMap
Readonly
name
name
:
string
Methods
init
init
(
player
:
Player
)
:
void
Parameters
player
:
Player
Returns
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
_
name
Methods
init
GitHub
Docs
Discolink
Loading...
Interface for plugins to implement