add comments

This commit is contained in:
pengfei.zhou 2019-12-14 16:31:10 +08:00
parent 4bc81a9ca9
commit 6b8e37fb66

View File

@ -17,8 +17,17 @@ import { Gravity } from "./gravity";
import { Modeling } from "./types";
export enum LayoutSpec {
/**
* Depends on what's been set on width or height.
*/
JUST = 0,
/**
* Depends on it's content.
*/
FIT = 1,
/**
* Extend as much as parent let it take.
*/
MOST = 2,
}