SingleLine
When To Use
This display box can provide more powerful functions when a single-line input display is required
Examples
结果:
<template>
<h-singleline :value="text" title="结果" />
</template>
<script setup lang="ts">
import { ref } from 'vue';
const text = ref('请输入多行文本');
</script>
API
Props
Property | Description | Type | default |
---|---|---|---|
title | Title | string | |
value | Result display | string | |
size | copy button size | string | middle |
copyable | Whether to display the copy button | boolean | true |