Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- handleClick(event) {
- if(this.displayList == [...this.accList]) {
- this.displayList = [...this.accList].splice(0,3);
- } else {
- this.displayList = [...this.accList];
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement