Binding

Examples of binding data from Docly documents and folders to HTML pages.

For­ce Ch­rome print me­dia CSS in PD­F

Add this comment anywhere in your output HTML code. This will force Chrome Headless engine to create PDF with print media css.

Set MI­ME by co­de

Setting a specific content-type header for your output response.

Set­Cul­tur­e da­te og num­ber for­mat

Use the setculture function to format dates and numbers according to a specific culture.

Simp­le bin­din­g

This example shows basic binding binding of data to HTML. This way you can generate HTML pages from your Docly documents.

Bin­ding ar­ray­s

This example shows basic binding binding of data to HTML. This way you can generate HTML pages from your Docly documents.