FlowLayoutItem add fullSpan attribute
This commit is contained in:
@@ -2931,6 +2931,10 @@ var FlowLayoutItem = /** @class */ (function (_super) {
|
||||
Property,
|
||||
__metadata$5("design:type", String)
|
||||
], FlowLayoutItem.prototype, "identifier", void 0);
|
||||
__decorate$5([
|
||||
Property,
|
||||
__metadata$5("design:type", Boolean)
|
||||
], FlowLayoutItem.prototype, "fullSpan", void 0);
|
||||
return FlowLayoutItem;
|
||||
}(Stack));
|
||||
var FlowLayout = /** @class */ (function (_super) {
|
||||
|
@@ -2211,6 +2211,10 @@ __decorate$5([
|
||||
Property,
|
||||
__metadata$5("design:type", String)
|
||||
], FlowLayoutItem.prototype, "identifier", void 0);
|
||||
__decorate$5([
|
||||
Property,
|
||||
__metadata$5("design:type", Boolean)
|
||||
], FlowLayoutItem.prototype, "fullSpan", void 0);
|
||||
class FlowLayout extends Superview {
|
||||
constructor() {
|
||||
super(...arguments);
|
||||
|
@@ -3732,6 +3732,10 @@ __decorate$5([
|
||||
Property,
|
||||
__metadata$5("design:type", String)
|
||||
], FlowLayoutItem.prototype, "identifier", void 0);
|
||||
__decorate$5([
|
||||
Property,
|
||||
__metadata$5("design:type", Boolean)
|
||||
], FlowLayoutItem.prototype, "fullSpan", void 0);
|
||||
class FlowLayout extends Superview {
|
||||
constructor() {
|
||||
super(...arguments);
|
||||
|
4
doric-js/index.d.ts
vendored
4
doric-js/index.d.ts
vendored
@@ -835,6 +835,10 @@ declare module 'doric/lib/src/widget/flowlayout' {
|
||||
* Set to reuse native view
|
||||
*/
|
||||
identifier?: string;
|
||||
/**
|
||||
* When set to true, the item will layout using all span area.
|
||||
*/
|
||||
fullSpan?: boolean;
|
||||
}
|
||||
export class FlowLayout extends Superview {
|
||||
allSubviews(): FlowLayoutItem[];
|
||||
|
4
doric-js/lib/src/widget/flowlayout.d.ts
vendored
4
doric-js/lib/src/widget/flowlayout.d.ts
vendored
@@ -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;
|
||||
|
@@ -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);
|
||||
|
@@ -23,6 +23,12 @@ export class FlowLayoutItem extends Stack {
|
||||
*/
|
||||
@Property
|
||||
identifier?: string
|
||||
/**
|
||||
* When set to true, the item will layout using all span area.
|
||||
* HeaderView, footerView or loadMoreView is always true by default.
|
||||
*/
|
||||
@Property
|
||||
fullSpan?: boolean
|
||||
}
|
||||
|
||||
export class FlowLayout extends Superview {
|
||||
|
Reference in New Issue
Block a user