2.0.0 • Published 3 years ago
@dreamworld/dw-swipeable v2.0.0
dw-swipeable
A Material UI component to perform some action on swipe-left or swipe-right
Usage
- Import
import '@dreamworld/dw-swipeable';- Use
<dw-swipeable 
  @action=${this._onAction}
  .leftAction="${{left: {name: 'DELETE', caption: 'Delete', icon: 'delete'}}", 
  .rightAction="${{name: 'DELETE', caption: 'Delete'} }" >
     <div>Content Here</div>
</dw-swipeable>CSS Properties
| Name | Description | 
|---|---|
| --swipe-left-placeholder-color | Text color of left action placeholder. | 
| --swipe-left-placeholder-bg-color | Background color of left action placeholder | 
| --swipe-right-placeholder-color | Text color of right action placeholder. | 
| --swipe-right-placeholder-bg-color | Background color of right action placeholder | 
| --swipe-content-bg-color | Background color of content | 
2.0.0-upgrade-to-lit.1
3 years ago
2.0.0
3 years ago
1.1.0-upgrade-version.1
4 years ago
1.0.4
5 years ago
1.0.3
5 years ago
1.0.3-bind-declaratively-event.2
5 years ago
1.0.3-bind-declaratively-event.1
5 years ago
1.0.2
5 years ago
1.0.2-update-config.1
5 years ago
1.0.1
5 years ago
1.0.1-custom-event-issue.1
5 years ago
1.0.0
5 years ago
1.0.0-swipeable.1
5 years ago