1rosehip / 1rosehip/jplist

jplist destroy

Open
#290 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
435
Forks
168
PR merge metrics
No merged PRs in 30d

Description

Hello,

is there a way to destroy the jplist instance?

I have a page where users toggle between scroll and pagination.
if they click on pagination, I use jplist to show the results as a pagination format and if they click on scroll, i need to remove jplist to show the results with scroll bar.

thanks

Contributor guide

No contributing guide indexed for this repository

Research direction

Look at the jplist source code to understand how an instance is initialized and managed. Check for existing methods related to cleanup or teardown. The goal is to add a `destroy` method that removes event listeners and restores the original DOM state. Test by toggling between pagination and scroll views in a demo page.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, jquery
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.