Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

material-input

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

material-input - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

7

dist/material-input.js

@@ -121,4 +121,4 @@ 'use strict';

}.bind(this));
// pass on value when user enters content
this.$input.addEventListener('input', function (e) {
// submit on enters
this.$input.addEventListener('keydown', function (e) {
if (e.keyCode === 13) {

@@ -133,2 +133,5 @@ if (this.$form.checkValidity()) {

}
}.bind(this));
// pass on value when user enters content
this.$input.addEventListener('input', function (e) {
this._value(this.$input.value);

@@ -135,0 +138,0 @@ }.bind(this));

{
"name": "material-input",
"version": "1.1.1",
"version": "1.1.2",
"description": "An easy drop-in material-input solution as a custom element",

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

@@ -260,4 +260,4 @@ 'use strict';

}.bind(this));
// pass on value when user enters content
this.$input.addEventListener('input', function(e){
// submit on enters
this.$input.addEventListener('keydown', function(e){
if(e.keyCode === 13){

@@ -272,2 +272,5 @@ if(this.$form.checkValidity()){

}
}.bind(this));
// pass on value when user enters content
this.$input.addEventListener('input', function(e){
this._value(this.$input.value);

@@ -274,0 +277,0 @@ }.bind(this));

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc