feat:enhance layoutConfig
This commit is contained in:
24
doric-web/dist/index.js
vendored
24
doric-web/dist/index.js
vendored
@@ -2194,16 +2194,40 @@ class LayoutConfigImpl {
|
||||
this.heightSpec = exports.LayoutSpec.FIT;
|
||||
return this;
|
||||
}
|
||||
fitWidth() {
|
||||
this.widthSpec = exports.LayoutSpec.FIT;
|
||||
return this;
|
||||
}
|
||||
fitHeight() {
|
||||
this.heightSpec = exports.LayoutSpec.FIT;
|
||||
return this;
|
||||
}
|
||||
most() {
|
||||
this.widthSpec = exports.LayoutSpec.MOST;
|
||||
this.heightSpec = exports.LayoutSpec.MOST;
|
||||
return this;
|
||||
}
|
||||
mostWidth() {
|
||||
this.widthSpec = exports.LayoutSpec.MOST;
|
||||
return this;
|
||||
}
|
||||
mostHeight() {
|
||||
this.widthSpec = exports.LayoutSpec.MOST;
|
||||
return this;
|
||||
}
|
||||
just() {
|
||||
this.widthSpec = exports.LayoutSpec.JUST;
|
||||
this.heightSpec = exports.LayoutSpec.JUST;
|
||||
return this;
|
||||
}
|
||||
justWidth() {
|
||||
this.widthSpec = exports.LayoutSpec.JUST;
|
||||
return this;
|
||||
}
|
||||
justHeight() {
|
||||
this.heightSpec = exports.LayoutSpec.JUST;
|
||||
return this;
|
||||
}
|
||||
configWidth(w) {
|
||||
this.widthSpec = w;
|
||||
return this;
|
||||
|
2
doric-web/dist/index.js.map
vendored
2
doric-web/dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user