mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-11-30 16:48:21 +01:00
feat(widgets): add spinner and shimmer widgets
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<lcui-app>
|
||||
<resource type="text/css">
|
||||
.shimmer-basic-demo shimmer {
|
||||
width: 220px;
|
||||
height: 28px;
|
||||
}
|
||||
.shimmer-basic-demo shimmer-content {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 4px 8px;
|
||||
font-size: 15px;
|
||||
color: #46545f;
|
||||
}
|
||||
</resource>
|
||||
<ui>
|
||||
<widget class="shimmer-basic-demo">
|
||||
<shimmer>
|
||||
<shimmer-content>
|
||||
<text>Generating response…</text>
|
||||
</shimmer-content>
|
||||
</shimmer>
|
||||
</widget>
|
||||
</ui>
|
||||
</lcui-app>
|
||||
Reference in New Issue
Block a user