Skip to content
On this page

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

PropertyDescriptionTypedefault
titleTitlestring
valueResult displaystring
sizecopy button sizestringmiddle
copyableWhether to display the copy buttonbooleantrue