: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
el : topWindowDoc.tfClass('tb_loader')[0],
showLoader(mode = 'show') {
return new Promise(resolve => {
if (mode === 'spinhide') {
cl.remove('tf_opacity', 'tb_done', 'tb_error','tb_show');
} else if (!cl.contains('tb_' + mode)) {
cl.remove('tf_hide','tf_opacity','tb_done', 'tb_error','tb_show');
requestAnimationFrame(()=>{
if(cl.contains('tb_' + mode)){
cl.remove('tb_' + mode, 'tf_opacity');
this.tfOff('transitioncancel transitionend',end, {passive: true,once: true});
l.tfOn('transitionend transitioncancel', end, {