Function: focusStyle()
ts
function focusStyle(
frame,
cell,
focus,
aspect?
): StyleMap;The --andamento-object-position a tile sets for its content's focal point, which coverStyle uses as its object-position. Exact with the image's aspect (given, or the focus's own; see objectPosition); without, the focus as a percentage, which CSS keeps at the same place in the tile's box rather than in the middle of what shows.
Parameters
| Parameter | Type |
|---|---|
frame | Frame |
cell | Cell |
focus | Focus |
aspect? | number |