From 7dc6b4035aefab7071bce9ec1990d2ccbe4412bf Mon Sep 17 00:00:00 2001 From: JJ Allaire Date: Wed, 18 Jul 2012 03:25:40 -0700 Subject: [PATCH] add initial scaffolding for ui module --- DESCRIPTION | 1 + R/ui.R | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 R/ui.R diff --git a/DESCRIPTION b/DESCRIPTION index 56c50728b..2bff1b10c 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -22,3 +22,4 @@ Collate: 'reactives.R' 'shiny.R' 'shinywrappers.R' + 'ui.R' diff --git a/R/ui.R b/R/ui.R new file mode 100644 index 000000000..55e003155 --- /dev/null +++ b/R/ui.R @@ -0,0 +1,23 @@ + + +# attribs, text, children + +# explicit named args (my attributes) +# special named args (class, style, attribs) +# un-named character string (content) +# children (which you must explicitly render) +# you return a function + +processArgs <- function(args) { + +} + +p <- function(...) { + +} + + + +defineUI <- function(header, inputs, outputs, stylesheet) { + +} \ No newline at end of file