Forms
Composer
Reply composer with attach and split send.
import { EcoComposer } from "vue-ecosphere"
Composer
Write something and press Send (or Ctrl/⌘+Enter). The chevron schedules it.
Sent: [] · attach pressed 0×
API
| Name | Type | Default | Description |
|---|---|---|---|
v-model | string | "" | The draft. Send stays disabled while it is blank. |
placeholder / label | string | "Write your reply" / "Your reply" | Placeholder and accessible name of the textarea. |
when | string | — | Scheduled send time shown in cwhen. |
attachable / schedulable | boolean | true | Show the attach button / the schedule chevron. |
scheduleOpen | boolean | false | aria-expanded on the chevron while your schedule menu is open. |
clearOnSend | boolean | true | Empty the draft after send. |
sendLabel / attachLabel / scheduleLabel | string | — | Button text and names. |
disabled | boolean | false | Disable the whole composer. |
@send | (text: string) => void | — | Send, or Ctrl/⌘+Enter. |
@attach / @schedule | () => void | — | Attach button / schedule chevron. |
#top / #tools / #schedule | slot | — | Above the textarea / start of the toolbar / after the send button (for a menu). |