finalizeHtml: Finalizing Methods for HTML Output

Description Usage Arguments

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
finalizeHtml(x, ...)

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

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

## S4 method for signature '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


diffobj documentation built on Oct. 5, 2021, 9:07 a.m.