暴露Draggabilly接口

This commit is contained in:
Harvey Zack committed 2019-05-08 09:23:33 +08:00
1 parent eb34a39429
commit e26f43e243
1 file changed
+5
+5
View File
@@ -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',