add constraint typing for webcola

This commit is contained in:
Qinfeng Chen
2015-02-03 11:09:26 -05:00
parent 23b6edd28c
commit c420b1fd87

View File

@@ -30,6 +30,13 @@ declare module WebCola{
stop(): void;
}
interface Constraint {
axis: string;
gap: number;
left: number;
right: number;
}
interface FlowLayout{
axis: string;
minSeparation?: number;