Added trade unions

This commit is contained in:
a-ill
2023-08-17 12:01:26 +03:00
parent 55ecb339f5
commit 9998d8f048
63 changed files with 1402 additions and 55 deletions

View File

@@ -13,9 +13,9 @@ export function debounce(func, timeout){
}
export function svgFromObject(object) {
var objectDoc = object.contentDocument;
var svgItem = objectDoc.querySelector("path");
return svgItem
var objectDoc = object.contentDocument
var svgItems = objectDoc.querySelectorAll("path")
return svgItems
}
export function rem2px(rem) {