enn-hex-input

0.0.1 • Public • Published

Sidebar

HEX 输入和展示组件

示例

<template>
  <Hex v-model="hexStr" />
</template>

<script>
import Hex from 'enn-hex-input';

export default {
  components: {
    Hex,
  },
  data() {
    return {
      hexStr: '',
    };
  },
};
</script>

<style>
</style>

Tips

API

Sidebar Attributes

参数 类型 必填 默认值 说明
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 时可用。是否显示复制按钮

Tips

Readme

Keywords

Package Sidebar

Install

npm i enn-hex-input

Weekly Downloads

0

Version

0.0.1

License

ISC

Unpacked Size

13.6 kB

Total Files

5

Last publish

Collaborators

  • upupzealot
  • yansongcai
  • kewenjiang
  • guopi11