Formatting Module
convenience module for generating HTML tables, optimised for amortisation schedules
Functions and values
Function or value |
Description
|
Full Usage:
formatHtmlTableHeader indexName names
Parameters:
string voption
names : string array
Returns: string
|
creates a table header row from a record's fields
|
Full Usage:
generateHtmlFromArray hideProperties items
Parameters:
string[]
items : 'a array
Returns: string
|
generates a formatted HTML table from an array
|
Full Usage:
generateHtmlFromMap hideProperties data
Parameters:
string[]
data : Map<'a, 'b>
Returns: string
|
generates a formatted HTML table from a map with the index name "Day"
|
Full Usage:
generateHtmlFromMap' hideProperties indexName data
Parameters:
string[]
indexName : string
data : Map<'a, 'b>
Returns: string
|
generates a formatted HTML table from a map
|
Full Usage:
outputArrayToHtml fileName append data
Parameters:
'a
append : bool
data : 'b array
|
creates HTML files from an array
|
Full Usage:
outputMapToHtml fileName append data
Parameters:
'a
append : bool
data : Map<'b, 'c>
|
creates HTML files from a map with the index name "Day"
|
Full Usage:
outputMapToHtml' fileName append indexName data
Parameters:
'a
append : bool
indexName : string
data : Map<'b, 'c>
|
creates HTML files from a map
|
Full Usage:
outputToFile filePath append content
Parameters:
string
append : bool
content : string
|
writes some content to a specific file path, creating the containing directory if it does not exist
|
Full Usage:
outputToFile' fileName append content
Parameters:
'a
append : bool
content : string
|
writes content to a file in the application's IO directory
|