v-input-trim

由于element-ui的el-input使用v-model.trim去空格会导致输入时无法在内容前后输入空格,无法满足产品要求,因此设计了该v-input-trim指令。 使用v-model配合v-input-trim指令输入框, 失焦后会自动清除输入内容前后的所有空格。 也可支持原生input/textarea输入框,当然原生输入框建议可以直接用带trim修饰符指令v-model.trim进行去空格处理

85

Security score

0 known advisories in v0.1.2

0-100 score computed by this site from verifiable signals only: known OSV.dev advisories affecting this exact version, how recently it was published, and the repository's OpenSSF Scorecard.advisory penalty −0 · staleness penalty −15

Weekly downloads

Downloads across all versions in the last 7 days, from the official npm downloads API (api.npmjs.org).

—

Unpacked size

Size of v0.1.2 on disk after npm install extracts the tarball, as reported by the npm registry.

319.3 kB

Dependencies

Direct runtime dependencies declared by v0.1.2. Transitive dependencies are not counted here — use the lockfile audit for the full tree.

5

Last publish

When v0.1.2 was published to the registry. Long gaps can indicate an unmaintained package.

4 years ago

Security advisories

Vulnerabilities affecting v0.1.2 specifically, from OSV.dev — the open database aggregating the GitHub Advisory Database (GHSA) and CVEs. Links open the full advisory.

No known vulnerabilities affect v0.1.2.