JohnCoene / javascript-for-r-comments

1 stars 0 forks source link

Chapter 6 Repo [HTML functions] #14

Open MayaGans opened 3 years ago

MayaGans commented 3 years ago

Just curious... will these chapters each have little repos associated with them to browse the code in full?

For instance it's not immediately obvious to me where these functions should go....

peity_html <- function(...){
  htmltools::tags$span(...)
}

myWidget_html <- function(..., class){
  htmltools::tags$div(..., class = c(class, "my-class"))
}
JohnCoene commented 3 years ago

Aaah I see.

Yes all the code will be available, as well as that of each individual project/package built in the book :)