type: meya.orb.component.config.menu
class: OrbMenuConfigComponent
path: /meya/orb/component/config/menu.py
signature: orb_menu
Fields
field | signature | required | type | default | description |
---|---|---|---|---|---|
spec | ○ | ○ | Spec | null | Override the original spec for this element |
context | ○ | ○ | dict | {} | Send context data with this component's event |
sensitive | ○ | ○ | bool | false | Mark this component's event as sensitive |
triggers | ○ | ○ | list | [] | Activate these dynamic triggers when the component runs |
orb_menu | ◉ | ○ | OrbMenuElementSpec |
Examples
Basic
triggers:
- keyword: meya.orb.component.config.menu
steps:
- orb_menu: {}
Full
triggers:
- keyword: meya.orb.component.config.menu
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_menu:
close_text: STRING
back_text: STRING