<interaction> Directive
🛠 Attributes
Attribute
Type
Required
Description
✅ Allowed Content
💡 Examples
Simple Interactions
Complex Interaction
🧩 AI Interpretation Guidelines
For Simple Interactions
For Complex Interactions
Action Types
setProperty
setPropertyAttribute
Type
Required
Description
animate
animateAttribute
Type
Required
Description
validate
validateAttribute
Type
Required
Description
submit
submitAttribute
Type
Required
Description
toggle
toggleAttribute
Type
Required
Description
show
showAttribute
Type
Required
Description
focus
focusAttribute
Type
Required
Description
1. Event Binding via Directives
2. Action Definition
3. Available Directives
4. Action Elements
<SetProperty>
<SetProperty>Attribute
Description
<CallAction>
<CallAction><AnimateProperty> (optional / future spec)
<AnimateProperty> (optional / future spec)5. Conditional Logic
<If> Attributes
<If> AttributesAttribute
Description
6. Chained Actions
7. Action Scope
8. Complete Example: Hover to Show Arrows (with conditions and chaining)
Last updated

