rstudio/shiny

Add support for ifelse logic in conditionalPanel

Open

#843 创建于 2015年5月22日

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

仓库指标

Star
 (5,649 star)
PR 合并指标
 (平均合并 9天) (30 天内合并 4 个 PR)

描述

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)

贡献者指南