add style linq generate.

This commit is contained in:
Rintim 2023-09-28 19:12:11 +08:00
parent a662ae8afa
commit b10b449a0d
1 changed files with 7 additions and 0 deletions

View File

@ -7860,6 +7860,13 @@
value:value
}
},
stl(name,value){
return {
_type:"style",
name:name,
value:value
}
},
div(){
const dom=lib.linq.dom;
return dom.inject(document.createElement("div"),dom.generate(...arguments));