mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-22 20:37:58 +08:00
Merge pull request #3593 from qinfchen/webcola_constraint
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