htmltools_value | R Documentation |
get a htmltools::div()
from a flextable object.
This can be used in a shiny application. For an output within
"R Markdown" document, use knit_print.flextable.
htmltools_value(
x,
ft.align = NULL,
ft.shadow = NULL,
extra_dependencies = NULL
)
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. |
an object marked as htmltools::HTML ready to be used within
a call to shiny::renderUI
for example.
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()
htmltools_value(flextable(iris[1:5, ]))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.