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

vue-input-autosize

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-input-autosize - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

6

index.js

@@ -22,3 +22,2 @@ 'use strict';

this.mirror.classList.add("vue-input-autosize-mirror");
document.body.appendChild(this.mirror);

@@ -34,2 +33,4 @@ this.el.addEventListener("input", this.check.bind(this, this.el), false);

whiteSpace: "nowrap",
opacity: 0,
border: styles.getPropertyValue("border"),
fontSize: styles.getPropertyValue("font-size"),

@@ -39,8 +40,9 @@ fontFamily: styles.getPropertyValue("font-family"),

letterSpacing: styles.getPropertyValue("letter-spacing"),
padding: styles.getPropertyValue("padding"),
textTransform: styles.getPropertyValue("text-transform"),
ariaHidden: true
});
document.body.appendChild(_this.mirror);
_this.check(_this.el);
}, 0);
// this.vm.$watch()
},

@@ -47,0 +49,0 @@ update: function update(newVal, oldVal) {

@@ -26,3 +26,2 @@ (function (global, factory) {

this.mirror.classList.add("vue-input-autosize-mirror");
document.body.appendChild(this.mirror);

@@ -38,2 +37,4 @@ this.el.addEventListener("input", this.check.bind(this, this.el), false);

whiteSpace: "nowrap",
opacity: 0,
border: styles.getPropertyValue("border"),
fontSize: styles.getPropertyValue("font-size"),

@@ -43,8 +44,9 @@ fontFamily: styles.getPropertyValue("font-family"),

letterSpacing: styles.getPropertyValue("letter-spacing"),
padding: styles.getPropertyValue("padding"),
textTransform: styles.getPropertyValue("text-transform"),
ariaHidden: true
});
document.body.appendChild(_this.mirror);
_this.check(_this.el);
}, 0);
// this.vm.$watch()
},

@@ -51,0 +53,0 @@ update: function update(newVal, oldVal) {

{
"name": "vue-input-autosize",
"version": "0.2.0",
"version": "0.2.1",
"description": "A simple Vue.js directive to autosize text input fields",

@@ -19,4 +19,4 @@ "license": "MIT",

"build:umd": "BUILD_ENV=umd rollup -c",
"example": "vbuild --dev -e example",
"example:build": "vbuild -e example -t VueInputAutosize",
"example": "vbuild --dev",
"example:build": "vbuild -t VueInputAutosize",
"test": "karma start karma.conf.js --single-run true --auto-watch false",

@@ -23,0 +23,0 @@ "watch-test": "karma start karma.conf.js --single-run false --auto-watch true"

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