intense: Full screen pannable R plots for the web

Description Usage Arguments

Description

intense wraps a plot or HTML element with the effect provided by intense-images.

Usage

1
intense(img = NULL, selector = NULL, width = NULL, height = NULL)

Arguments

img

string of a img with src equal to url or a base64 encoded image or a tag from htmltools. Note, the tag does not need to be an img and also does not need to contain an image. If using a tag, the attributes "data-image", "data-title", and "data-caption" should contain the information to render the intense-image as desired.

selector

string of the css selector of the element for which you would like to apply intense-images. The attributes "data-image", "data-title", and "data-caption" should contain the information to render the intense-image as desired.

width

integer in px for the width of the div container.

height

integer in px for the height of the div container.


timelyportfolio/imageR documentation built on May 31, 2019, 1:50 p.m.