fitToContent takes optional parameter 'opt'

This commit is contained in:
trystanclarke 2015-03-18 16:11:16 +00:00
parent 0519a10af3
commit d15416da9d

View File

@ -78,7 +78,7 @@ declare module joint {
findViewByModel(modelOrId:any):CellView;
findViewsFromPoint(p:{ x: number; y: number; }):CellView[];
findViewsInArea(r:{ x: number; y: number; width: number; height: number; }):CellView[];
fitToContent(): void;
fitToContent(opt?:any): void;
}
class ElementView extends CellView {