removeData(arrData = []) {
        if (arrData.length !== 0) {
            arrData.forEach(data => {
                let el = $(this.#body).find(`input[value='${data}']`);
                let paragText = $(el).closest("li").text();
                this.#popData(data.toString(), paragText, el);
            });
        } else {
            // Remove everything
            this.#checkData.splice(0, this.#checkData.length);
            this.#paragraph.splice(0, this.#paragraph.length);
            $(this.#body).find(`input`).prop("checked", false);
            this.#showHideParagraph();
        }
    }
/**
     * @description if the first argument is an empty array then it wipe off the pvtState, else it remove just the data passed as argument in the array.
     * @param {[]} arrData empty or with value to remove.
     */
@description if the first argument is an empty array then it wipe off the pvtState, else it remove just the data passed as argument in the array.
@param {[]} arrData empty or with value to remove.
@description if the first argument is an empty array then it wipe off the pvtState else it remove just the data passed as argument in the array . @param { [] } arrData empty or with value to remove .
removeData(arrData = []) {
        if (arrData.length !== 0) {
            arrData.forEach(data => {
                let el = $(this.#body).find(`input[value='${data}']`);
                let paragText = $(el).closest("li").text();
                this.#popData(data.toString(), paragText, el);
            });
        } else {
            this.#checkData.splice(0, this.#checkData.length);
            this.#paragraph.splice(0, this.#paragraph.length);
            $(this.#body).find(`input`).prop("checked", false);
            this.#showHideParagraph();
        }
    }
removeData ( arrData = [ ] ) { if ( arrData . length !== 0 ) { arrData . forEach ( data => { let el = $ ( this . #body ) . find ( ` ${ data } ` ) ; let paragText = $ ( el ) . closest ( "li" ) . text ( ) ; this . #popData ( data . toString ( ) , paragText , el ) ; } ) ; } else { this . #checkData . splice ( 0 , this . #checkData . length ) ; this . #paragraph . splice ( 0 , this . #paragraph . length ) ; $ ( this . #body ) . find ( ` ` ) . prop ( "checked" , false ) ; this . #showHideParagraph ( ) ; } }
@description if the first argument is an empty array then it wipe off the pvtState, else it remove just the data passed as argument in the array.
@description if the first argument is an empty array then it wipe off the pvtState else it remove just the data passed as argument in the array .
// Remove everything