Skip to contents

Module server for theme()

Usage

themeHandler(id, module_id, param)

Arguments

id

An ID string that corresponds with the ID used to call the module's UI function.

module_id

the id of the ui elements (not including its prefix created by the name space) which gives input as arguments of theme()

param

parameters of theme() that correspond to the ui elements

Value

theme() and its code or NULL

Note

the order of param should match the order of module_id. Currently the following parameters of theme() are implemented

  • legend.position

  • legend.direction

  • legend.box