rstudio/shiny

Add support for ifelse logic in conditionalPanel

Open

#843 创建于 2015年5月22日

在 GitHub 查看
 (3 评论) (4 反应) (0 负责人)R (5,649 star) (1,890 fork)batch import
Difficulty: IntermediateEffort: LowHelp WantedPriority: LowType: Enhancement :bulb:

描述

Many times I want to do something along the lines of

conditionalPanel("input.test", "yep"),
conditionalPanel("!input.test", "nope")

Some syntactic sugar here would be awesome :) Hopefully the above could be translated into

conditionalPanel("input.test", iftrue = "yep", iffalse = "nope")

(clearly I'm not great at naming arguments)

贡献者指南