perfect-scrollbar

how to enable autoscrolling in perfect-scrollbar with angular 4?

被刻印的时光 ゝ 提交于 2020-06-11 00:41:31
问题 documentation is not being very helpful here. I want to use the perfect scroll-bar in my application so that I bypass issues of compatibility with all browsers. I initialized my code exactly as described here https://github.com/zefoy/ngx-perfect-scrollbar/tree/4.x.x/ . This is what I did in my html <perfect-scrollbar id="chat" [config]="config"> <li *ngFor="let message of messages"> {{messages}} <li> </perfect-scrollbar> now for each new message I want the container to autoscroll to the

how to enable autoscrolling in perfect-scrollbar with angular 4?

梦想与她 提交于 2020-06-11 00:39:43
问题 documentation is not being very helpful here. I want to use the perfect scroll-bar in my application so that I bypass issues of compatibility with all browsers. I initialized my code exactly as described here https://github.com/zefoy/ngx-perfect-scrollbar/tree/4.x.x/ . This is what I did in my html <perfect-scrollbar id="chat" [config]="config"> <li *ngFor="let message of messages"> {{messages}} <li> </perfect-scrollbar> now for each new message I want the container to autoscroll to the

how to enable autoscrolling in perfect-scrollbar with angular 4?

这一生的挚爱 提交于 2020-06-11 00:39:36
问题 documentation is not being very helpful here. I want to use the perfect scroll-bar in my application so that I bypass issues of compatibility with all browsers. I initialized my code exactly as described here https://github.com/zefoy/ngx-perfect-scrollbar/tree/4.x.x/ . This is what I did in my html <perfect-scrollbar id="chat" [config]="config"> <li *ngFor="let message of messages"> {{messages}} <li> </perfect-scrollbar> now for each new message I want the container to autoscroll to the

Inserting a div element inside of an iframe

你离开我真会死。 提交于 2020-01-17 05:19:11
问题 I am trying to insert a div element inside of a iframe to which I would like to eventually apply a perfect scrollbar. As of now I have been able to insert the iframe inside div and apply perfect scrollbar to it. Any ideas? My code is as follows: <!DOCTYPE html> <html> <head> <title>perfect-scrollbar</title> <link href="http://noraesae.github.io/perfect-scrollbar/bootstrap-combined.min.css" rel="stylesheet"> <link href="http://noraesae.github.io/perfect-scrollbar/perfect-scrollbar.min.css" rel

Can we apply SlimScroll or PerfectScrollbar plugin to jQuery Datatable default vertical scroll

。_饼干妹妹 提交于 2019-12-23 05:27:57
问题 I am using Datatable ver 1.10, I enable the vertical scrolling. now datatable showing window default scroll style. Is it possible to change/implement some other scrollBar on datatable scrollbar? to make it more beautiful and fancy. I tried this solution at stackoverflow but it squeez the header. also I want header and footer fixed position. 回答1: here is my working code // when initialization is completed then apply scroll plugin "fnInitComplete":function(){ $('.dataTables_scrollBody')

Can we apply SlimScroll or PerfectScrollbar plugin to jQuery Datatable default vertical scroll

瘦欲@ 提交于 2019-12-23 05:27:28
问题 I am using Datatable ver 1.10, I enable the vertical scrolling. now datatable showing window default scroll style. Is it possible to change/implement some other scrollBar on datatable scrollbar? to make it more beautiful and fancy. I tried this solution at stackoverflow but it squeez the header. also I want header and footer fixed position. 回答1: here is my working code // when initialization is completed then apply scroll plugin "fnInitComplete":function(){ $('.dataTables_scrollBody')

perfect-scrollbar default scrollbar remains and the “perfect-scrollbar” not functional

不想你离开。 提交于 2019-12-02 03:00:04
问题 I really need help with this one. I would like to replace the default scrollbar on my iframe with the "perfect scrollbar". I have downloaded the perfect scrollbar. I also have included the needed files into my html document. According to the documentation, I set up the style of content container inside my iframe. The result is, that when I load my main page and move the mouse cursor on iframe, the "perfect-scrollbar" appears, but the default scrollbar remains. Next issue is, that the new

perfect-scrollbar default scrollbar remains and the “perfect-scrollbar” not functional

余生颓废 提交于 2019-12-01 23:18:13
I really need help with this one. I would like to replace the default scrollbar on my iframe with the "perfect scrollbar". I have downloaded the perfect scrollbar. I also have included the needed files into my html document. According to the documentation, I set up the style of content container inside my iframe. The result is, that when I load my main page and move the mouse cursor on iframe, the "perfect-scrollbar" appears, but the default scrollbar remains. Next issue is, that the new scrollbar is not functional at all. It starts on the top of the iframe content and it ends at the bottom of