bulmaFigure: Add image

Description Usage Arguments Details Author(s) Examples

View source: R/bulma-charts.R

Description

Add an image.

Usage

1
bulmaFigure(src, size = NULL, ratio = NULL, alt = "")

Arguments

src

path to image.

size

set fixed image size, see details.

ratio

set responsive ratio, see details.

alt

image alt.

Details

Valid size:

Valid ratio:

Author(s)

John Coene, jcoenep@gmail.com

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
if(interactive()){
library(shiny)

shinyApp(
  ui = bulmaPage(
   bulmaTitle("Hello Bulma"),
   bulmaFigure("path/to/image")
  ),
  server = function(input, output) {}
)
}

JohnCoene/shinybulma documentation built on Oct. 17, 2020, 8:57 p.m.