Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
enn-hex-input
Advanced tools
HEX 输入和展示组件
<template>
<Hex v-model="hexStr" />
</template>
<script>
import Hex from 'enn-hex-input';
export default {
components: {
Hex,
},
data() {
return {
hexStr: '',
};
},
};
</script>
<style>
</style>
参数 | 类型 | 必填 | 默认值 | 说明 |
---|---|---|---|---|
type | String | text | HEX 组件的类型:text、textarea、show | |
placeholder | String | 输入框 placeholder | ||
splitSymbol | String | " " | 字符串的分隔符 | |
disabled | Boolean | 是否禁用 | ||
length | Number | 长度限制 | ||
rows | String/Number | type=textarea 时的行数 | ||
canMSB | Boolean | true | 只在 type=text 时可用。是否可以进行 MSB <-> LSB 的转化 | |
canRandom | Boolean | true | 只在 type=text 时可用。是否显示随机产生值进行填充的按钮 | |
canCopy | Boolean | false | 只在 type=text 时可用。是否显示复制按钮 |
FAQs
HEX 组件
We found that enn-hex-input demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.