mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-22 20:39:17 +08:00
add constraint typing for webcola
This commit is contained in:
7
webcola/webcola.d.ts
vendored
7
webcola/webcola.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user