1.0.5 • Published 6 years ago

waterripple v1.0.5

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

安装

npm i -save waterripple
或
yarn add waterripple

使用

<template>
  <WaterRipple class="login-box" @onClick="login" text="登陆"></WaterRipple>
</template>

<script>
  import WaterRipple from 'waterripple'
  export default {
    components: {
      WaterRipple
    },
    methods: {
      login (password) {
        console.log('点击了!')
      }
    }
  }
</script>

<style scoped>
  .login-box {
      height: 400px;
      width: 500px;
      background-color: rgba(0, 0, 0, 0.2);
      position: absolute;
      left: 0;
      right: 0;
      top: 0;
      bottom: 0;
      margin: auto;
    }
</style>

效果

Alt text

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago