cotomy 0.1.55 → 0.1.56
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/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/view.d.ts +5 -1
- package/package.json +1 -1
package/dist/view.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare class CotomyElement {
|
|
2
2
|
static encodeHtml(text: string): string;
|
|
3
|
-
|
|
3
|
+
private static createHTMLElement;
|
|
4
4
|
static first<T extends CotomyElement = CotomyElement>(selector: string, type?: new (el: HTMLElement) => T): T | undefined;
|
|
5
5
|
static find<T extends CotomyElement = CotomyElement>(selector: string, type?: new (el: HTMLElement) => T): T[];
|
|
6
6
|
static contains(selector: string): boolean;
|
|
@@ -13,6 +13,10 @@ export declare class CotomyElement {
|
|
|
13
13
|
constructor(element: HTMLElement | {
|
|
14
14
|
html: string;
|
|
15
15
|
css?: string;
|
|
16
|
+
} | {
|
|
17
|
+
tagname: string;
|
|
18
|
+
text?: string;
|
|
19
|
+
css?: string;
|
|
16
20
|
} | string);
|
|
17
21
|
private _scopeId;
|
|
18
22
|
get scopeId(): string;
|