Pdfmake: what CSS is supported?

Created on 5 Feb 2018  路  2Comments  路  Source: bpampuch/pdfmake

Hello, great component.
One question:

How can I know the exact css classes that I can use?

In my use case I need this css to be applied to my text:

border-bottom:  1px dotted #000,
text-decoration:  none,

It seems it is not supported, right?
There is any way to force that style somehow?

Thanks

EDIT:

I found this while searching the examples:

decoration: 'underline', decorationStyle: 'dotted'

I think it can be awesome to have a clear reference to all the style possibility to make easier how to style the pdf.

Most helpful comment

Yes I totally agree on the need of a new documentation.

What I meant is to have all the possible styling options listed one by one.

So who wants to user this component can easily find what he need without having to rummage between examples.

All 2 comments

CSS is not supported, this is not a HTML.

Examples are available on playground and in examples folder. Documentation is not complete, but I have a issue for create new nice documentation https://github.com/bpampuch/pdfmake/issues/1238.

Yes I totally agree on the need of a new documentation.

What I meant is to have all the possible styling options listed one by one.

So who wants to user this component can easily find what he need without having to rummage between examples.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dgrice picture dgrice  路  3Comments

svenyonson picture svenyonson  路  3Comments

m-brudi picture m-brudi  路  3Comments

Christian24 picture Christian24  路  3Comments

jkd003 picture jkd003  路  3Comments