Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@hi-ui/carousel

Package Overview
Dependencies
Maintainers
2
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hi-ui/carousel

A sub-package for @hi-ui/hiui.

latest
Source
npmnpm
Version
4.1.1
Version published
Maintainers
2
Created
Source

又叫图片轮播器,是用于在同一空间展示一组图片的容器。

何时使用

在空间有限的情况下,需要展示多张图片时

常用于宣传营销 Banner、新功能上线等场景

使用示例

Props

参数说明类型可选值默认值
duration自动切换间隔,默认不自动切换number-0
showDots是否显示分页指示器booleantrue | falsetrue
showArrows是否显示箭头指示器booleantrue | falsetrue
defaultActive默认激活索引,从 0 开始number-0
showPages是否显示页码指示器booleantrue | falsefalse

CHANGELOG

参数变更类型变更内容解决的问题
arrowSizefeature箭头指示器尺寸UI 新增功能
dotTypefeature分页指示器类型UI 新增功能
dotPlacementfeature分页指示器位置

FAQs

Package last updated on 12 Apr 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts