RinteRface / shinybulma

🌐 Bulma.io for Shiny
https://rinterface.github.io/shinybulma/
Other
111 stars 15 forks source link

Implement JS [helpers](https://bulmajs.tomerbe.co.uk) #15

Open DivadNojnarg opened 4 years ago

DivadNojnarg commented 4 years ago

@JohnCoene : after implementing the JS helpers, do we target a CRAN release end of the year?

JohnCoene commented 4 years ago

Sounds like a good idea! Will look into it this summer. A full review of the package is probably overdue as well.

DivadNojnarg commented 4 years ago

Updated JS link

DivadNojnarg commented 4 years ago

other links: https://demo.creativebulma.net/

DivadNojnarg commented 3 years ago

WIP: see 21f7483

DivadNojnarg commented 3 years ago

poke @JohnCoene

library(shiny)
library(shinybulma)

ui <- bulmaPage(
  tags$head(
    tags$script(
      "$(function() {
        Bulma().alert({
    type: 'danger',
    title: 'This is an alert!',
    body: 'Ooohh what button you gonna click?',
    confirm: 'Confirm it!',
    cancel: 'Maybe not'
  });
      });
      "
    )
  )
)

server <- function(input, output, session) {

}

shinyApp(ui, server)

Screenshot 2020-08-23 at 18 12 37