jrs-react 1.2.45 → 1.2.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/index.es.js
CHANGED
|
@@ -4955,11 +4955,13 @@ class Backdrop extends JRHTML {
|
|
|
4955
4955
|
}
|
|
4956
4956
|
show() {
|
|
4957
4957
|
this.backdrop = this.agregarHijo(this.backdropConfig);
|
|
4958
|
+
this.on = true;
|
|
4958
4959
|
}
|
|
4959
4960
|
hide() {
|
|
4960
|
-
if (this.
|
|
4961
|
+
if (this.on) {
|
|
4961
4962
|
this.yo.removeChild(this.yo.children[this.yo.children.length - 1]);
|
|
4962
4963
|
this.hijos = [];
|
|
4964
|
+
this.on = false;
|
|
4963
4965
|
}
|
|
4964
4966
|
}
|
|
4965
4967
|
}
|
package/build/index.js
CHANGED
|
@@ -4982,11 +4982,13 @@ class Backdrop extends JRHTML {
|
|
|
4982
4982
|
}
|
|
4983
4983
|
show() {
|
|
4984
4984
|
this.backdrop = this.agregarHijo(this.backdropConfig);
|
|
4985
|
+
this.on = true;
|
|
4985
4986
|
}
|
|
4986
4987
|
hide() {
|
|
4987
|
-
if (this.
|
|
4988
|
+
if (this.on) {
|
|
4988
4989
|
this.yo.removeChild(this.yo.children[this.yo.children.length - 1]);
|
|
4989
4990
|
this.hijos = [];
|
|
4991
|
+
this.on = false;
|
|
4990
4992
|
}
|
|
4991
4993
|
}
|
|
4992
4994
|
}
|
package/package.json
CHANGED
|
@@ -74,14 +74,15 @@ class Backdrop extends JRHTML{
|
|
|
74
74
|
Object.assign(this.backdropConfig.style,params.backdropStyle)
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
-
|
|
78
77
|
show(){
|
|
79
78
|
this.backdrop=this.agregarHijo(this.backdropConfig)
|
|
79
|
+
this.on=true
|
|
80
80
|
}
|
|
81
81
|
hide(){
|
|
82
|
-
if(this.
|
|
82
|
+
if(this.on){
|
|
83
83
|
this.yo.removeChild(this.yo.children[this.yo.children.length-1])
|
|
84
84
|
this.hijos=[]
|
|
85
|
+
this.on=false
|
|
85
86
|
}
|
|
86
87
|
}
|
|
87
88
|
}
|