You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
669 B
39 lines
669 B
const Icons = {
|
|
comet: (color) => {
|
|
// const svg = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
// star.setAttribute("viewBox", '0 0 100 100');
|
|
|
|
// const path = document.createElementNS("http://www.w3.org/2000/svg", 'path');
|
|
|
|
const obj = document.getElementById('TEST_OBJECT_SVG');
|
|
|
|
console.log(obj);
|
|
console.log(obj.contentDocument)
|
|
|
|
return obj;
|
|
},
|
|
|
|
moon: (color) => {
|
|
|
|
},
|
|
|
|
planet: (color) => {
|
|
|
|
},
|
|
|
|
rocket: (color) => {
|
|
|
|
},
|
|
|
|
spacesuit: (color) => {
|
|
|
|
},
|
|
|
|
spider: (color) => {
|
|
|
|
},
|
|
|
|
ufo: (color) => {
|
|
|
|
},
|
|
}; |