1.1.3 • Published 2 years ago

h-wx-js v1.1.3

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

h-wx-js

Install

npm install h-wx-js

or

yarn add h-wx-js

ES Module

Example for how to import the ES module from another module:

import hwx from "h-wx-js";

hwx.watchInput(); // Global listening input

or

import { watchInput } from "h-wx-js";

watchInput();
<!-- vue -->
<div>
	<input v-model="value" @blur="changeScroll" />
</div>


<script>

import { fixScroll } from "h-wx-js";

export default {
	data () {
		return {
			value: ""
		}
	},
	methods: {
		changeScroll: function () {
			fixScroll();
		}
	}
}

</script>

init font-size

// main.js

import { initFontSize } from "h-wx-js";

initFontSize();
1.1.1

2 years ago

1.1.0

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.0.0

3 years ago