gridlayout
objectget_element_ids.Rd
Get ids of element in gridlayout
object
get_element_ids(x)
Object of class "gridlayout"
.
Character vector of ids of all elements in layout
grid_obj <- md_to_gridlayout(
layout_table = "
| |120px |1fr |1fr |
|------|--------|-------|-------|
|100px |header |header |header |
|1fr |sidebar |plot_a |plot_a |
|1fr |sidebar |plot_b |plot_c |"
)
get_element_ids(grid_obj)
#> [1] "header" "sidebar" "plot_a" "plot_b" "plot_c"