vue-input-autosize
Advanced tools
Comparing version 0.2.1 to 0.2.2
{ | ||
"name": "vue-input-autosize", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "A simple Vue.js directive to autosize text input fields", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -13,2 +13,8 @@ # vue-input-autosize | ||
**or** include the UMD build, hosted by [npmcdn](https://npmcdn.com) in a `<script>` tag: | ||
```js | ||
<script src="//npmcdn.com/vue-input-autosize"></script> | ||
``` | ||
## Usage | ||
@@ -27,4 +33,7 @@ | ||
### Why bind to `value` instead of using `v-model`? | ||
Currently, there's no easy way to track changes to a `v-model` value from a directive. However, since the `value` property of a text field controls its content, and is also a valid parameter to watch for updates from the directive, we can dynamically bind to that instead. | ||
## License | ||
MIT © [Collin Henderson](https://github.com/syropian) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8640
38