优化测试用例

This commit is contained in:
Harvey committed 2020-05-20 10:46:31 +08:00
1 parent a4535bcc6c
commit 2d16171720
6 files changed
+574 -211

No files matched your search

+3 -3
View File
@@ -34,7 +34,7 @@ var art = new Artplayer({
contextmenu: [
{
html: 'Custom menu',
click: function(contextmenu) {
click: function (contextmenu) {
console.info('You clicked on the custom menu');
contextmenu.show = false;
},
@@ -43,7 +43,7 @@ var art = new Artplayer({
layers: [
{
html: `<img style="width: 100px" src="/assets/sample/layer.png">`,
click: function() {
click: function () {
console.info('You clicked on the custom layer');
},
style: {
@@ -104,7 +104,7 @@ var art = new Artplayer({
{
position: 'right',
html: 'Control',
click: function() {
click: function () {
console.info('You clicked on the custom control');
},
},