Skip to contents

Returns a imola template as an object for future use. Depending on the given type, the template will then be available to be passed as an argument to a panel or page function of that specific type. Templates are collections of arguments that can be grouped and stored for later usage via the "template" argument of panel and page functions.

Usage

makeTemplate(type, ..., breakpoint_system = activeBreakpoints(), export = NULL)

Arguments

type

The type of css grid for which the template can be used

...

Collection of valid arguments that can be passed to a panel of the given type (see gridPanel() and FlexPanel() for all options)

breakpoint_system

Optional breakpoint system to use in the template. by default it will simply use the current active system but a built in or custom system can also be passed. You ca find built in breakpoint systems under getOption("imola.breakpoints")

export

A path ending in a file name with a .yaml extension to export the template to. Allows exporting templates as a yaml file for future usage.

Value

No return value, called for side effects