update_div
Update a box layer on a card.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Layer center, in percent of the card width from the card center. 50 is the right edge. | |
| y | No | Layer center, in percent of the card height from the card center. 50 is the bottom edge. | |
| html | No | New card HTML, with the same rules as add_div html. Empty string clears the card. | |
| divId | Yes | ||
| layer | No | front paints above the phone and image layers, back paints behind the phone. Text layers always paint above both. Defaults to front for html cards and back for plain boxes. | |
| scale | No | Visual multiplier from the center, 0.1 to 4. The html keeps its layout size and does not reflow. 1 is natural size. | |
| width | No | CSS pixels on the 500px-tall card. | |
| height | No | CSS pixels on the 500px-tall card. | |
| opacity | No | ||
| rotationX | No | 3D tilt in degrees, -360 to 360, about the box center with the same perspective as phones. 0 is flat. | |
| rotationY | No | 3D tilt in degrees, -360 to 360, about the box center with the same perspective as phones. 0 is flat. | |
| rotationZ | No | 3D tilt in degrees, -360 to 360, about the box center with the same perspective as phones. 0 is flat. | |
| borderRadius | No | ||
| screenshotId | Yes | ||
| backgroundColor | No |