package.web-types.lit.json Maven / Gradle / Ivy
{
"$schema": "https://json.schemastore.org/web-types",
"name": "@vaadin/message-input",
"version": "24.5.3",
"description-markup": "markdown",
"framework": "lit",
"framework-config": {
"enable-when": {
"node-packages": [
"lit"
]
}
},
"contributions": {
"html": {
"elements": [
{
"name": "vaadin-message-input",
"description": "`` is a Web Component for sending messages.\nIt consists of a text area that grows on along with the content, and a send button to send message.\n\nThe message can be sent by one of the following actions:\n- by pressing Enter (use Shift + Enter to add a new line)\n- by clicking `submit` button.\n\n```html\n \n```",
"extension": true,
"attributes": [
{
"name": "?disabled",
"description": "Set to true to disable this element.",
"value": {
"kind": "expression"
}
},
{
"name": ".value",
"description": "Current content of the text input field",
"value": {
"kind": "expression"
}
},
{
"name": ".i18n",
"description": "The object used to localize this component.\nFor changing the default localization, change the entire\n`i18n` object.\n\nThe object has the following JSON structure and default values:\n\n```\n{\n // Used as the button label\n send: 'Send',\n\n // Used as the input field's placeholder and aria-label\n message: 'Message'\n}\n```",
"value": {
"kind": "expression"
}
},
{
"name": "@submit",
"description": "Fired when a new message is submitted with ``, either\nby clicking the \"send\" button, or pressing the Enter key.",
"value": {
"kind": "expression"
}
}
]
}
]
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy