use_rounded {vembedr}R Documentation

Make rounded corners

Description

You can use this function to make rounded corners for the enclosing ⁠</div>⁠.

Usage

use_rounded(embed, radius = NULL)

Arguments

embed

vembedr_embed object, created using an embed() function

radius

numeric or character, css property for the border-radius for the ⁠<iframe/>⁠. Numeric values will be interpreted as number of pixels.

Value

Object with S3 class vembedr_embed.


[Package vembedr version 0.1.5 Index]