mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-28 10:31:20 -08:00
update type
This commit is contained in:
1 parent
aac95549cb
commit
936617707f
3 files changed
+4
-3
No files matched your search
@@ -34,6 +34,7 @@ var art = new Artplayer({
|
|||||||
icon: '<img width="22" heigth="22" src="/assets/img/indicator.svg">',
|
icon: '<img width="22" heigth="22" src="/assets/img/indicator.svg">',
|
||||||
selector: [
|
selector: [
|
||||||
{
|
{
|
||||||
|
default: true,
|
||||||
html: 'Custom setting 01',
|
html: 'Custom setting 01',
|
||||||
onSelect: function () {
|
onSelect: function () {
|
||||||
console.info('You clicked on the custom setting 01');
|
console.info('You clicked on the custom setting 01');
|
||||||
@@ -59,7 +60,7 @@ var art = new Artplayer({
|
|||||||
],
|
],
|
||||||
layers: [
|
layers: [
|
||||||
{
|
{
|
||||||
html: '<img style="width: 100px" src="/assets/sample/layer.png">',
|
html: '<img width="100" src="/assets/sample/layer.png">',
|
||||||
click: function () {
|
click: function () {
|
||||||
console.info('You clicked on the custom layer');
|
console.info('You clicked on the custom layer');
|
||||||
},
|
},
|
||||||
|
|||||||
Vendored
+1
-1
@@ -701,5 +701,5 @@ declare class Artplayer extends Player {
|
|||||||
|
|
||||||
readonly contextmenu: Record<string, HTMLElement> & Component;
|
readonly contextmenu: Record<string, HTMLElement> & Component;
|
||||||
|
|
||||||
readonly setting: Record<string, HTMLElement> & Component;
|
readonly setting: Component;
|
||||||
}
|
}
|
||||||
+1
-1
@@ -701,5 +701,5 @@ declare class Artplayer extends Player {
|
|||||||
|
|
||||||
readonly contextmenu: Record<string, HTMLElement> & Component;
|
readonly contextmenu: Record<string, HTMLElement> & Component;
|
||||||
|
|
||||||
readonly setting: Record<string, HTMLElement> & Component;
|
readonly setting: Component;
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user