Comments (3)
Yup that could be. This is what I am currently doing on all other RinteRface package to allow for more interactivity
from argondash.
Do you have a gist available as an example?
from argondash.
Something really quick and dirty before I push a fix:
library(shiny)
library(argon)
library(argonR)
argonDropdownItem <- function (inputId = NULL, name = NULL, description = NULL, src = NULL, icon = NULL,
status = NULL) {
itemCl <- "media d-flex align-items-center"
# add class action-button to rely on the existing shiny input binding
if (!is.null(inputId)) {
itemCl <- paste0(itemCl, " btn action-button")
}
tags$a(
id = if (!is.null(inputId)) inputId,
class = itemCl,
href = src,
if (!is.null(icon)) {
argonIconWrapper(
iconTag = icon, gradient_color = status,
circle = TRUE, size = NULL, status = status,
shadow = FALSE, hover_shadow = FALSE)
},
tags$div(
class = "media-body ml-3",
tags$h6(class = paste0("heading text-", status, " mb-md-1"), name),
tags$p(class = "description d-none d-md-inline-block mb-0", description)
)
)
}
shinyApp(
ui = argonDashPage(
navbar = argonDashNavbar(
argonDropNav(
title = "Menu",
argonDropdownItem(inputId = "test", name = "Hello")
)
),
sidebar = argonDashSidebar(
id = "sidebar",
side = "left",
size = "md",
skin = "light"
),
body = argonDashBody("Hello World")
),
server = function(input, output) {
observeEvent(input$test, {
showNotification("plop")
})
}
)
from argondash.
Related Issues (20)
- add rsconnect folder to Rbuildignore HOT 1
- I cannot add an argonCard in Shiny tabItem HOT 2
- App does not run well in shiny server pro HOT 2
- Optional args for argonInfoCard HOT 1
- Icon not getting displayed inside argonInfoCard HOT 1
- ArgonModal in an argonCard
- Sidebar tab doesn't work when published to shinyapps.io HOT 6
- argoInfoCard stat color
- Reference should be updated
- argonDashGallery() "no file found" HOT 5
- Editing Layout of argonProfile()
- Package Highcharter HOT 1
- argonDashSidebar size not responding
- stat color
- argonDashGallery() not working
- argondash don't work with horizontal layout
- Create multiple rows in argonTable
- How to reduce the white space between the argonDash cards?
- Update ArgonTabItems in my Shiny app
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from argondash.