responsive_orientation
Define separate GSAP animations for portrait and landscape orientations to adapt to device rotation.
Instructions
响应式方向变化
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"target": "<target>",
"portraitAnimation": "<portraitAnimation>",
"landscapeAnimation": "<landscapeAnimation>"
},
"name": "responsive_orientation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | 目标元素选择器 | |
| duration | No | ||
| portraitAnimation | Yes | 竖屏动画 | |
| landscapeAnimation | Yes | 横屏动画 |