Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

collapsible shinyInputs #32

Open
3 of 8 tasks
ijlyttle opened this issue Feb 10, 2017 · 3 comments
Open
3 of 8 tasks

collapsible shinyInputs #32

ijlyttle opened this issue Feb 10, 2017 · 3 comments
Labels

Comments

@ijlyttle
Copy link
Owner

ijlyttle commented Feb 10, 2017

It could be useful to be able to collapse shiny Inputs - the thought is that we would have a

shinyInput_embed_collapse(tag)

This would take a shinyInput and return a modified copy of the shinyInput.

The modifications would:

  • add a caret to the left side of the label of the shiny input.

  • the caret would be wrapped in a link.

  • the link would be associated with a collapse element that wraps the rest of the shiny input.

  • the caret would rotate according to if the input is open or not

  • document

  • test

  • article

  • app

@ijlyttle
Copy link
Owner Author

How does this survive a shiny update? (same with label_embed)

@ijlyttle
Copy link
Owner Author

consider argument for initial state (expanded/collapsed)

@ijlyttle
Copy link
Owner Author

consider left-to-right bias (also for label_embed())

@ijlyttle ijlyttle added the 0.1.x label May 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant