Skip to content

afeiship/wsui-enlarge

Repository files navigation

wsui-enlarge

wsui module for enlarge clickable area.

version license size download

installation

npm i @jswork/wsui-enlarge

usage

// use sass
@import '~@jswork/wsui-enlarge/dist/index.scss';
// use css
@import '~@jswork/wsui-enlarge/dist/style.css';
<style>
  button{
    position: relative;
  }
</style>

<p><button class="wsui-enlarge" data-value="small" type="button">我是可点击区域 data-value="small"</button></p>
<p><button class="wsui-enlarge" data-value="normal" type="button">我是可点击区域 data-value="normal"</button></p>
<p><button class="wsui-enlarge" data-value="large" type="button">我是可点击区域 data-value="large"</button></p>

preview

license

Code released under the MIT license.

About

wsui module for enlarge clickable area.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published