@syncfusion/ej2-base 21.1.37 → 21.1.38
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/CHANGELOG.md +8 -0
- package/bin/syncfusion-license.js +1 -1
- package/dist/ej2-base.min.js +2 -2
- package/dist/ej2-base.umd.min.js +2 -2
- package/dist/ej2-base.umd.min.js.map +1 -1
- package/dist/es6/ej2-base.es2015.js +9 -2
- package/dist/es6/ej2-base.es2015.js.map +1 -1
- package/dist/es6/ej2-base.es5.js +10 -3
- package/dist/es6/ej2-base.es5.js.map +1 -1
- package/dist/global/ej2-base.min.js +2 -2
- package/dist/global/ej2-base.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +6 -66
- package/src/dom.js +10 -3
|
@@ -4719,8 +4719,15 @@ function prepend(fromElements, toElement, isEval) {
|
|
|
4719
4719
|
*/
|
|
4720
4720
|
function append(fromElements, toElement, isEval) {
|
|
4721
4721
|
const docFrag = document.createDocumentFragment();
|
|
4722
|
-
|
|
4723
|
-
|
|
4722
|
+
if (fromElements instanceof NodeList) {
|
|
4723
|
+
while (fromElements.length > 0) {
|
|
4724
|
+
docFrag.appendChild(fromElements[0]);
|
|
4725
|
+
}
|
|
4726
|
+
}
|
|
4727
|
+
else {
|
|
4728
|
+
for (const ele of fromElements) {
|
|
4729
|
+
docFrag.appendChild(ele);
|
|
4730
|
+
}
|
|
4724
4731
|
}
|
|
4725
4732
|
toElement.appendChild(docFrag);
|
|
4726
4733
|
if (isEval) {
|