html5.cell: Convert an abstract cell object into an HTML5 string

View source: R/render-html5.R

html5.cellR Documentation

Convert an abstract cell object into an HTML5 string

Description

Given a cell class create an HTML5 representation.

Usage

## S3 method for class 'cell'
html5(object, id, ..., class = NULL)

Arguments

object

The cell to render to HTML5

id

A unique identifier for traceability

...

additional arguments to renderer. Unused

class

An additional class attribute for the HTML5 element

Value

A text string rendering of the given cell as a <td> with several <span>'s.


spgarbet/tangram documentation built on Feb. 12, 2023, 7:13 p.m.