/**
 * Created by YYCCMMKK on 2018/6/6.
 */ import ReferenceLine from './reference-line' ; interface defaults { cache : object ; [ key ] : any ; } let defaults = { cache : { } } ; export class Main { constructor ( opt ? ) { } init ( ) { new ReferenceLine ( { item : '[data-query="item"]' , range : '.box' , drag : true , zIndex : 1 , lineColor : 'red' , lineWidth : 1 , offset : 40 , grid : true , move : function ( evt , ele , l , t ) : void { } , end : function ( ele , x , y ) { console . log ( 'end:' , x , y ) ; } } ) . init ( ) ; } } new Main ( ) . init ( ) ;