pagemap {pagemap} | R Documentation |
Mini Map of Page
Description
Create mini map for single web page.
Usage
pagemap(id, box_style = list(), ..., elementId = NULL)
Arguments
id |
|
box_style |
a |
... |
additional options passed to |
elementId |
|
See Also
Examples
library(pagemap)
# Most basic usage
pagemap()
# Fix it’s position on the screen
pagemap(
id = "mini_map",
box_style = list(left = "5px", top = "10px")
)
# Style by providing a list of css property
pagemap(
id = "mini_map",
styles = list(
"h1,h2,a,code" = "rgba(0, 0, 0, 0.10)",
"img" = "rgba(0, 0, 0, 0.08)",
"pre" = "rgba(0, 0, 0, 0.04)"
)
)
[Package pagemap version 0.1.3 Index]