FlowLayoutItem add fullSpan attribute

This commit is contained in:
pengfei.zhou
2021-10-11 16:26:56 +08:00
committed by osborn
parent 9429c75834
commit 0e77c62e13
13 changed files with 53 additions and 5 deletions

View File

@@ -5,6 +5,10 @@ export declare class FlowLayoutItem extends Stack {
* Set to reuse native view
*/
identifier?: string;
/**
* When set to true, the item will layout using all span area.
*/
fullSpan?: boolean;
}
export declare class FlowLayout extends Superview {
private cachedViews;

View File

@@ -31,6 +31,10 @@ __decorate([
Property,
__metadata("design:type", String)
], FlowLayoutItem.prototype, "identifier", void 0);
__decorate([
Property,
__metadata("design:type", Boolean)
], FlowLayoutItem.prototype, "fullSpan", void 0);
export class FlowLayout extends Superview {
constructor() {
super(...arguments);