Compare commits
No commits in common. "ddfee6403f8075449804a3a9662b3e44149ea385" and "2e41b3d18c40230992e5eed3db2943b61d27027b" have entirely different histories.
ddfee6403f
...
2e41b3d18c
4
main.js
4
main.js
@ -29,7 +29,6 @@ export function createElement({ innerText, innerHTML, textContent, readOnly, chi
|
||||
element.my = (value) => { element.style.marginTop = value; element.style.marginBottom = value; return element }
|
||||
element.px = (value) => { element.style.paddingLeft = value; element.style.paddingRight = value; return element }
|
||||
element.py = (value) => { element.style.paddingTop = value; element.style.paddingBottom = value; return element }
|
||||
element.font = (font) => { element.style.font = font; return element }
|
||||
return element
|
||||
}
|
||||
|
||||
@ -126,9 +125,6 @@ export class BaseElement {
|
||||
static radius(radius) {
|
||||
return createElement({ style: { borderRadius: radius } }, this.name)
|
||||
}
|
||||
static font(font) {
|
||||
return createElement({ style: { font } }, this.name)
|
||||
}
|
||||
}
|
||||
|
||||
export class div extends BaseElement {
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@laniakeasupercluster/widgets",
|
||||
"description": "A simple widgets tracker",
|
||||
"version": "1.1.5",
|
||||
"version": "1.1.3",
|
||||
"type": "module",
|
||||
"main": "main.js",
|
||||
"author": "Laniakea Supercluster <huan0016@gmail.com>",
|
||||
|
Loading…
Reference in New Issue
Block a user