data_frame_to_css_grid_template_areas: Generate CSS string representing grid template areas.

Description Usage Arguments Details Value

View source: R/grid.R

Description

Generate CSS string representing grid template areas.

Usage

1

Arguments

areas_dataframe

data.frame of character representing grid areas

Details

This is a helper function used in grid_template()

1
2
3
4
5
6
7
areas_dataframe <- rbind(
   c("header", "header", "header"),
   c("menu",   "main",   "right1"),
   c("menu",   "main",   "right2")
)

result == "'header header header' 'menu main right1' 'menu main right2'"

Value

character


shiny.semantic documentation built on Jan. 13, 2021, 4:46 a.m.