Learn R Programming

imola (version 0.5.0)

CSS Layouts (Grid and Flexbox) Implementation for R/Shiny

Description

Allows easy creation of CSS layouts (grid and flexbox) directly from R without added CSS.

Copy Link

Version

Install

install.packages('imola')

Monthly Downloads

601

Version

0.5.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Pedro Silva

Last Published

April 19th, 2022

Functions in imola (0.5.0)

exportTemplate

Export a template
getTemplate

Get a registered template
gridPage

Create a css grid based page
readSettingsFile

Import a settings file
registerBreakpointSystem

Register a breakpoint system
addBreakpoint

Add a breakpoint to a breakpoint system
breakpointSystem

Create a breakpoint system
generateCSSPropertyStyles

Creates styles for a css property.
listTemplates

List registered templates
flexPanel

Create a css flexbox based HTML tag
addClass

Add object class
mediaRuleTemplate

Create media rule template
generateID

Generate a ID
exportBreakpointSystem

Export a breakpoint system
getBreakpointSystem

Get a registered breakpoint system
gridTemplate

Create a grid template
gridPanel

Create a css grid based HTML tag
print.imola.breakpoint

Custom print function for a breakpoint object.
listBreakpointSystems

List registered breakpoint systems
is.breakpointSystem

Tests whether the object is an instance of a imola breakpoint system.
is.template

Tests whether the object is an instance of a imola template.
is.breakpoint

Tests whether the object is an instance of a imola breakpoint.
print.imola.breakpoint.system

Custom print function for a breakpoint system object.
setActiveBreakpointSystem

Set the active breakpoint system
stringCSSRule

Evaluate a css template
unregisterBreakpointSystem

Unregister a breakpoint system
stringTemplate

Evaluate a string template
applyTemplate

Apply a template to a attribute list
normalizeAttribute

Normalize a attribute
registerTemplate

Register a template
generateGridAreaCSS

Creates styles for css grid areas.
generateGridCSS

Creates styles for css grid attributes.
breakpoint

Create a breakpoint
normalizeAttributes

Normalize a list of attributes
unregisterTemplate

Unregister a template
removeBreakpoint

Remove a breakpoint from a breakpoint system
valueToCSS

Process Object to css
importTemplate

Import a template
print.imola.template

Custom print function for a template object.
generateFlexCSS

Creates styles for a css flex element.
generateFlexChildrenCSS

Creates styles for the children of a css flex element.
processContent

Process HTML content
importBreakpointSystem

Import a breakpoint system
flexPage

Create a css flexbox based page