ADKcodeXD/Vue3-Emoji

怎么更改placeholder?

WYX-K opened this issue · 1 comments

WYX-K commented
怎么更改placeholder?

您可以通过设置textAreaOption来设置placeholder
类型定义如下

interface TextAreaOptions {
    placeholder?: string;
    rows?: number;
    cols?: number;
    resize?: StyleValue;
  }

使用方法

<V3Emoji size="mid" :textAreaOption="{ placeholder:'hello' }"/>