mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-25 08:01:20 -08:00
artplayer tool init
This commit is contained in:
1 parent
6515953b93
commit
fdc0bd31dc
3 files changed
+8
-2
No files matched your search
@@ -0,0 +1 @@
|
|||||||
|
var thumbnail = new ArtplayerToolThumbnail('.artplayer-tool-thumbnail');
|
||||||
@@ -19,6 +19,8 @@
|
|||||||
console.log(this);
|
console.log(this);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
window.ArtplayerToolThumbnail = ArtplayerToolThumbnail;
|
||||||
|
|
||||||
exports.default = ArtplayerToolThumbnail;
|
exports.default = ArtplayerToolThumbnail;
|
||||||
|
|
||||||
Object.defineProperty(exports, '__esModule', { value: true });
|
Object.defineProperty(exports, '__esModule', { value: true });
|
||||||
|
|||||||
@@ -1,8 +1,11 @@
|
|||||||
import './index.scss';
|
import './index.scss';
|
||||||
|
|
||||||
export default class ArtplayerToolThumbnail {
|
class ArtplayerToolThumbnail {
|
||||||
constructor(el) {
|
constructor(el) {
|
||||||
this.el = el;
|
this.el = el;
|
||||||
console.log(this);
|
console.log(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
window.ArtplayerToolThumbnail = ArtplayerToolThumbnail;
|
||||||
|
export default ArtplayerToolThumbnail;
|
||||||
Reference in new issue
Block a user