Merge pull request #3593 from qinfchen/webcola_constraint

add constraint typing for webcola
This commit is contained in:
Masahiro Wakame
2015-02-04 23:15:53 +09:00

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;