-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: updated KCarousel document (#453)
* docs: updated KCarousel document * docs: remove redundant character * docs: updated kcarousel document
- Loading branch information
Showing
2 changed files
with
31 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<script lang="ts"> | ||
import { KCarousel } from '@ikun-ui/carousel'; | ||
</script> | ||
|
||
<KCarousel direction="vertical" count={6} initialIndex={0}> | ||
<div style:height="280px" class="bg-orange-100 fcc text-black"><h1>0</h1></div> | ||
<div style:height="280px" class="bg-orange-200 fcc text-black"><h1>1</h1></div> | ||
<div style:height="280px" class="bg-orange-100 fcc text-black"><h1>2</h1></div> | ||
<div style:height="280px" class="bg-orange-200 fcc text-black"><h1>3</h1></div> | ||
<div style:height="280px" class="bg-orange-100 fcc text-black"><h1>4</h1></div> | ||
<div style:height="280px" class="bg-orange-200 fcc text-black"><h1>5</h1></div> | ||
</KCarousel> |