flextable (version 0.9.5)

htmltools_value: flextable as an 'HTML' object

Description

get a div() from a flextable object. This can be used in a shiny application. For an output within "R Markdown" document, use knit_print.flextable.

Usage

htmltools_value(
  x,
  ft.align = NULL,
  ft.shadow = NULL,
  extra_dependencies = NULL
)

Value

an object marked as HTML ready to be used within a call to shiny::renderUI for example.

Arguments

x

a flextable object

ft.align

flextable alignment, supported values are 'left', 'center' and 'right'.

ft.shadow

deprecated.

extra_dependencies

a list of HTML dependencies to add in the HTML output.

See Also

Other flextable print function: as_raster(), df_printer(), flextable_to_rmd(), gen_grob(), knit_print.flextable(), plot.flextable(), print.flextable(), save_as_docx(), save_as_html(), save_as_image(), save_as_pptx(), save_as_rtf(), to_html.flextable()

Examples

Run this code
htmltools_value(flextable(iris[1:5, ]))

Run the code above in your browser using DataLab