cesarvr / pdf-generator

Cordova plugin to generate pdf in the client-side
MIT License
106 stars 62 forks source link

Is it posible to call and HTML located in the asset folder? #45

Closed uselessai closed 7 years ago

uselessai commented 7 years ago

That is my question.. instead of use html page in a server.. is posible to pass via URL a local HTML page?..

cesarvr commented 7 years ago

Hi, yes you can do it by passing something like file:///android_asset/www/test.html where www/ is where you put your html/js/css assets. Also I have added an example here, just look the internal url example.