Learn R Programming

diffobj (version 0.3.5)

finalizeHtml: Finalizing Methods for HTML Output

Description

Used as the finalizer slot to StyleHtml objects to wrap character output prior to output to device. Used primarily by styles that output to HTML to properly configure HTML page structure, including injecting JS, CSS, etc..

Usage

finalizeHtml(x, ...)

# S4 method for ANY finalizeHtml(x, x.chr, js, ...)

# S4 method for Diff finalizeHtml(x, x.chr, ...)

# S4 method for DiffSummary finalizeHtml(x, x.chr, ...)

Arguments

x

object to finalize

...

arguments to pass on to methods

x.chr

character text representation of x, typically generated with the as.character method for x

js

character javascript code to append to HTML representation