Interface ITranslateItemCommandConfigArgs
Provides parameters to resize a product or some items.
For details, you can refer to the docs.
{
"type": "design-editor",
"name": "editor",
"params": {
"initial": { ... },
"translate": {
"translateParams": {
"items": ["Name"], // the item name
"translateX": "10",
"translateY": "10"
}
}
}
}
Properties
items
Declaration
Property Value
Type |
Description |
string[] |
|
translateX
Declaration
translateX: number | string
Property Value
Type |
Description |
number | string |
|
translateY
Declaration
translateY: number | string
Property Value
Type |
Description |
number | string |
|