openwebf / webf

Build flutter apps with HTML/CSS and JavaScript.
https://openwebf.com/
Apache License 2.0
1.66k stars 121 forks source link

[FR] Pagination Html page #658

Open winterdl opened 2 months ago

winterdl commented 2 months ago

Should this be an RFC?

Description

Can we break html page into multiple screen like an ebook viewer when rendering?

Alternatives and Workarounds

No response

andycall commented 2 months ago

You mean split out the rendering contents and navigate them using flutter's navigator with swipe left or right gestures?

winterdl commented 2 months ago

You mean split out the rendering contents and navigate them using flutter's navigator with swipe left or right gestures?

Yes, I don't know if the rendering part supports CSS3 columns yet, or if there's a way to calculate the size of the parts that will be rendered. Currently, webview flutter supports CSS3 columns, which can easily paginate a long HTML page, but webview flutter only supports mobile and does not yet support desktop.