html5_elements: Create builders for html5 elements

Description Usage Arguments

Description

A generic function to produce html 5 elements

Usage

1
2
html5_elements(my_html, into, insert = T, tag, text, close_tag = T,
  collapse = T, ...)

Arguments

my_html

html in a vector of strings; output from 'create_html'.

into

character string; unique identifier of a line in the html. Element id is highly recommended.

insert

T or F, if FALSE, return the element instead of inserting into html.

tag

html tag, e.g. div, span, h3.

text

character string; the display text on the button

close_tag

T or F. Should closing tag be included?

collapse

T or F. Whether or not to collapse the script into a single line.

...

Other parameter passing to tag attributes.


kcf-jackson/jsReact documentation built on May 29, 2019, 3:01 a.m.