if (existingIndex !== undefined && existingIndex !== null && existingIndex > -1) {
           {
               this.options.pageHandlers?.splice(existingIndex,1);
            }
        }