Skip to content

Commit fd4b5c4

Browse files
committed
perf[Sticky]: refine demo
1 parent a2b9b37 commit fd4b5c4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/views/components-demo/sticky.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@
5151
<div>placeholder</div>
5252
<div>placeholder</div>
5353
<div>placeholder</div>
54-
<div>placeholder</div>
54+
<sticky :sticky-top="200">
55+
<el-button type="primary"> placeholder</el-button>
56+
</sticky>
5557
<div>placeholder</div>
5658
<div>placeholder</div>
5759
<div>placeholder</div>

0 commit comments

Comments
 (0)