API / interfaces / sheet2htmlopts
Interface: Sheet2HTMLOpts
Options for converting a worksheet to an HTML table string
Properties
id
optional
id: stringHTML id attribute for the table element
editable
optional
editable: booleanIf true, add contenteditable attribute to cells
header
optional
header: stringHTML to prepend before the table
footer
optional
footer: stringHTML to append after the table
sanitizeLinks
optional
sanitizeLinks: booleanIf true, sanitize hyperlink targets to prevent XSS
Source
src/types.ts