為何捐款
API 瀏覽器
Slide Item

The QSlideItem component is essentially a QItem with two additional slots (left and right) which allows user to drag the item (through mouse or with the finger on a touch device) to one of the sides in order to apply a specific action.

Loading QSlideItem API...

Usage

使用滑鼠拖曳或用手指滑動到左側或右側,即可查看 QSlideItem 的效果。

TIP

如果您的內容也包含圖片,您可能需要為它們添加 draggable="false" 屬性,否則瀏覽器原生行為可能會產生負面干擾。

Basic



Vertical



Custom colors



Customize while sliding



One sided or no sides