pure-svg-table
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

Pure SVG table

SVG has no table-support. There are a couple of options to workaround this.

  • You can use custom elements with a table-like semantics. This is the approach used by the GraphTableSVG module which needs some additional javascript to be executed.
  • Another approach is to workaround it using text and tspan elements.
  • Yet another approach is to embed the html table inside a foreignObject element and adding the html styles under the style element. The current module takes this approach.

Readme

Keywords

Package Sidebar

Install

npm i pure-svg-table

Weekly Downloads

0

Version

1.0.3

License

ISC

Unpacked Size

9.12 kB

Total Files

13

Last publish

Collaborators

  • adamschmideg