Socket
Socket
Sign inDemoInstall

vue-ripple-directive

Package Overview
Dependencies
10
Maintainers
2
Versions
20
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.13 to 1.1.0

2

package.json
{
"name": "vue-ripple-directive",
"version": "1.0.13",
"version": "1.1.0",
"description": "Vue Material Ripple Effect Directive",

@@ -5,0 +5,0 @@ "main": "src/ripple.js",

@@ -63,1 +63,10 @@ # Material Ripple Effect

```
You can also set the default color for all your ripples like follows
```
import Ripple from 'vue-ripple-directive'
Ripple.color = 'rgba(255, 255, 255, 0.35)';
Vue.directive('ripple', Ripple);
```

@@ -1,2 +0,2 @@

export default {
var Ripple = {
bind: function(el, binding){

@@ -16,3 +16,3 @@

var bg = binding.value || 'rgba(0, 0, 0, 0.35)';
var bg = binding.value || Ripple.color || 'rgba(0, 0, 0, 0.35)';

@@ -104,3 +104,3 @@ function rippler(event, el) {

}
}
};

@@ -114,2 +114,4 @@ function setProps(modifiers,props) {

});
}
}
export default Ripple;
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc