A funciton for checking, merging, and more with a variety of different style formats.
prGetStyle(...)
All styles here are merged with the first parameter.
If you provide a name, e.g. styles="background: blue", align="center"
the function will convert the align
into proper align: center
.
The styles can be provided as vector
,
named vector
, or string
.
string
Returns the codes merged into one string with
correct CSS ; and : structure.
Other hidden helper functions for htmlTable:
prAddCells()
,
prAddSemicolon2StrEnd()
,
prEscapeHtml()
,
prGetCgroupHeader()
,
prGetRowlabelPos()
,
prPrepareAlign()
,
prPrepareCgroup()
,
prTblNo()