Category : scroll

Hellow there, id like to make my iframe scroll to the very bottom where the new output shows on every reload which is being triggered by a button, I’ve researched the question and it seems to be rather hard to find an answer, scrolling an iframe automatically to the bottom or triggering its scrolling to ..

Read more

Here is my html(only a part of the content matters) <div class="cont"> <div class="main"> <div class="text_main"> <header class="selectDisable"> <p>lorem ipsum</p> <h2>lorem ipsum</h2> </header> <p class="description">&nbsp;&nbsp;&nbsp;&nbsploremememamdnabdauidfsatttttttttasfdasfdfsadufasdsadasdasdsadasdasdasdasdasd</p> <p class="copyright">&copy;<span id="date"></span> Lorem Ipsum</p> </div> <div class="illustration_main" > <img class="selectDisable" src="illustrations/final final.png"> </div> </div> <div class="arrow"> <img class="selectDisable, arrow_true" src="icons/down-arrow-svgrepo-com.svg"> </div> <div class="directors"> </div> </div> And css .arrow > ..

Read more

How to check when the scroll is down? And then upload more results by method initialize()? Template: <v-autocomplete :items="items" item-text="name" item-value="id" label="Item List" ></v-autocomplete> Script: data: () => ({ items: [], page: 1 }), methods: { initialize() { return ItemService.getItems(this.page) .then((response) => { this.items = response; }) .catch((error) => { this.handleError(error, this.errors); }); } } ..

Read more

There is a design having a vertical scroll, it’s working when we run to execute it on constructor(), but if the user will change the scrollbar left/right (vertically) then hit the findEvent() button on the template then it will not working. event.component.html <div #refScroll (click)="findEvent()">Find Events</div> event.component.ts ViewChild(‘refScroll’) refScroll:ElementRef; constructor(){ this.findEvent(); } findEvent(){ this.refScroll.nativeElement.scrollIntoView({ behaviour:’smooth’, ..

Read more