https://github.com/afeiship/wsui-enlarge
wsui module for enlarge clickable area.
https://github.com/afeiship/wsui-enlarge
clickable enlarge sass webkit wsui
Last synced: about 1 month ago
JSON representation
wsui module for enlarge clickable area.
- Host: GitHub
- URL: https://github.com/afeiship/wsui-enlarge
- Owner: afeiship
- License: mit
- Created: 2016-10-16T06:32:33.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2021-08-10T08:35:35.000Z (almost 5 years ago)
- Last Synced: 2025-03-29T22:31:49.877Z (about 1 year ago)
- Topics: clickable, enlarge, sass, webkit, wsui
- Language: JavaScript
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# wsui-enlarge
> wsui module for enlarge clickable area.
[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]
## installation
```shell
npm i @jswork/wsui-enlarge
```
## usage
```scss
// use sass
@import '~@jswork/wsui-enlarge/dist/index.scss';
// use css
@import '~@jswork/wsui-enlarge/dist/style.css';
```
```html
button{
position: relative;
}
我是可点击区域 data-value="small"
我是可点击区域 data-value="normal"
我是可点击区域 data-value="large"
```
## preview
- https://afeiship.github.io/wsui-enlarge/
## license
Code released under [the MIT license](https://github.com/afeiship/wsui-enlarge/blob/master/LICENSE.txt).
[version-image]: https://img.shields.io/npm/v/@jswork/wsui-enlarge
[version-url]: https://npmjs.org/package/@jswork/wsui-enlarge
[license-image]: https://img.shields.io/npm/l/@jswork/wsui-enlarge
[license-url]: https://github.com/afeiship/wsui-enlarge/blob/master/LICENSE.txt
[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/wsui-enlarge
[size-url]: https://github.com/afeiship/wsui-enlarge/blob/master/dist/wsui-enlarge.min.js
[download-image]: https://img.shields.io/npm/dm/@jswork/wsui-enlarge
[download-url]: https://www.npmjs.com/package/@jswork/wsui-enlarge