ui.js
/**
     * Go to next page in list
     */
Go to next page in list
Go to next page in list
listNext() {
        document.body.scroll({ top: 0, left: 0, behavior: 'smooth' });
        this.listPage++;
        if (this.searchInput) {
            var input = document.getElementById("searchInput").value;
            if (input.length != 0) {
                this.main.class().filter(input, this.listPage, this.listOrder, this.listDesc);
                return;
            }
        }
        this.main.class().list(this.listPage, this.listOrder, this.listDesc);
    }
listNext ( ) { document . body . scroll ( { top : 0 , left : 0 , behavior : 'smooth' } ) ; this . listPage ++ ; if ( this . searchInput ) { var input = document . getElementById ( "searchInput" ) . value ; if ( input . length != 0 ) { this . main . class ( ) . filter ( input , this . listPage , this . listOrder , this . listDesc ) ; return ; } } this . main . class ( ) . list ( this . listPage , this . listOrder , this . listDesc ) ; }
Go to next page in list
Go to next page in list