Create a figure.

pixfigure(
  path,
  caption = NULL,
  h = "auto",
  w = "100%",
  fit = "cover",
  position = "center",
  width = "100%",
  height = "100%",
  elementId = NULL
)

Arguments

path

A character vector of full paths to images.

caption

A character vector of captions for the images (Optional).

h

Height of the image as a string in valid css units.

w

Width of the image as a string in valid css units.

fit

String. Passed to object-fit css property.

position

String. Passed to object-position css property.

width

Width of the widget as a string in valid css units.

height

Height of the widget as a string in valid css units.

elementId

A character denoting parent container ID.