简体   繁体   中英

how can i allow user to scroll large text files?

I have very large text files that can reach 10's of gb's(on server side), and want the ability for user to scroll through them on my website. This will allow them to view it without needing to download a program such as glogg. I thought about implementing something that shows lines of text based on the users scroll positon, although i dont really know how to start doing this. My website is build on react and nodejs. Any ideas?

您可以在 css 中使用overflow属性

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM