Replies: 2 comments
-
|
That is not opaque, the reason is : the level of SSelect is lower than other components ExampleSSelect {
// z is larger than SButton's z
z: 100;
y: 100px;
font-weight: 700;
is-show: true;
theme: Error;
card-width: 300px;
options: [
{label:"Shangai",value:"s01"},
{label:"Los Angeles",value:"l02"},
{label:"New York",value:"n03"},
{label:"Hong Kong",value:"h04"},
];
changed(index,item)=>{
t.index = index;
t.label = item.label;
t.value = item.value;
self.close();
}
}
SButton {
z: 10;
text: "up";
} |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
If z is larger, the level of the component will be higher |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Beta Was this translation helpful? Give feedback.
All reactions