@alexgyver/component 1.0.0 → 1.0.1
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/component.js +2 -2
- package/package.json +1 -1
package/component.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
class Sheet {
|
|
1
|
+
export class Sheet {
|
|
2
2
|
/**
|
|
3
3
|
* @abstract Добавить стиль с уникальным id в head. ext - стиль можно будет удалить по id
|
|
4
4
|
*/
|
|
@@ -50,7 +50,7 @@ class Sheet {
|
|
|
50
50
|
static #external = new Map();
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
class Component {
|
|
53
|
+
export class Component {
|
|
54
54
|
/**
|
|
55
55
|
* @abstract Создать компонент и поместить его в переменную $root
|
|
56
56
|
* @param {string} tag html tag элемента
|