Element details
type: meya.orb.component.config.composer
class: OrbComposerConfigComponent
path: /meya/orb/component/config/composer.py
signature: orb_composer
Fields
field | description | required | signature | default | type |
---|---|---|---|---|---|
spec | Override the original spec for this element. | ○ | ○ | null | Spec |
context | Send context data with this component's event. | ○ | ○ | {} | dict |
sensitive | Mark this component's event as sensitive. This will encrypt the event if the Sensitive Data integration has been enabled. | ○ | ○ | false | bool |
triggers | Activate these dynamic triggers when the component runs. Check the component triggers guide for more info. | ○ | ○ | [] | list |
orb_composer | ○ | ◉ | OrbComposerElementSpec | ||
Usage reference
Basic
triggers:
- keyword: meya.orb.component.config.composer
steps:
- orb_composer: {}
Full
triggers:
- keyword: meya.orb.component.config.composer
steps:
- spec:
type: STRING
data:
STRING: ANY
timeout: 123
trigger_when: ANY
context:
STRING: ANY
sensitive: false
triggers:
- type: STRING
data:
STRING: ANY
timeout: 123
trigger_when: ANY
orb_composer:
focus: file|image|text|blur
placeholder: STRING
collapse_placeholder: STRING
visibility: collapse|hide|show
character_limit:
length: 123
error_text: STRING
placeholder_text: STRING
collapse_placeholder_text: STRING
file_button_text: STRING
file_send_text: STRING
image_button_text: STRING
camera_button_text: STRING
gallery_button_text: STRING
upload:
progress_text: STRING
error_text: STRING