mirror of
https://gitee.com/blazorcomponent/MASA.Blazor.git
synced 2025-12-06 10:19:23 +08:00
* ♻ refactor: migrate all mobile components to a separate project
* remove unused files
* update
* update locale
* 🐛 fix: updating the logic of fetching latest release version
* update cicd
* update
22 lines
812 B
Plaintext
22 lines
812 B
Plaintext
<MCheckbox @bind-Value="@autoHeight" HideDetails="@true" Label="AutoHeight"></MCheckbox>
|
|
|
|
<MSwiper AutoHeight="@autoHeight" @key="@autoHeight">
|
|
<MSwiperSlide Style="background-color: var(--m-theme-surface-container); height: 200px;"
|
|
Class="d-flex align-center justify-center">
|
|
<h3> Slide 1 </h3>
|
|
</MSwiperSlide>
|
|
<MSwiperSlide Style="background-color: var(--m-theme-surface-container); height: 300px;"
|
|
Class="d-flex align-center justify-center">
|
|
<h3> Slide 2 </h3>
|
|
</MSwiperSlide>
|
|
<MSwiperSlide Style="background-color: var(--m-theme-surface-container); height: 200px;"
|
|
Class="d-flex align-center justify-center">
|
|
<h3> Slide 3 </h3>
|
|
</MSwiperSlide>
|
|
</MSwiper>
|
|
|
|
@code {
|
|
|
|
private bool autoHeight = true;
|
|
}
|