mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-11 22:06:17 -08:00
暴露Draggabilly接口
This commit is contained in:
1 parent
eb34a39429
commit
e26f43e243
1 file changed
+5
@@ -1,6 +1,7 @@
|
||||
import './style';
|
||||
import 'balloon-css/balloon.min.css';
|
||||
import Emitter from 'tiny-emitter';
|
||||
import Draggabilly from 'draggabilly';
|
||||
import validator from 'option-validator';
|
||||
import * as utils from './utils';
|
||||
import scheme from './scheme';
|
||||
@@ -67,6 +68,10 @@ class Artplayer extends Emitter {
|
||||
return validator.kindOf;
|
||||
}
|
||||
|
||||
static get Draggabilly() {
|
||||
return Draggabilly;
|
||||
}
|
||||
|
||||
static get DEFAULTS() {
|
||||
return {
|
||||
container: '#artplayer',
|
||||
|
||||
Reference in new issue
Block a user