applyTemplate: Merges a set of attributes with a given template. To avoid...

Description Usage Arguments Value

View source: R/templates.R

Description

Merges a set of attributes with a given template. To avoid redundanct attributes being added to the final list, a list of default values (based of the specific panel creation callback formals) is used to validate the need of the argument value in the final list.

Usage

1
applyTemplate(attributes, template, defaults, type)

Arguments

attributes

The manually given attribute values that will take priority during the merge.

template

The name of the template to merge.

defaults

The default values of the grid callback.

type

The type of css grid of the template.

Value

A named list of css attributes that can be used to generate a html element style rules of the given type.


imola documentation built on Nov. 18, 2021, 1:11 a.m.

Related to applyTemplate in imola...