forked from slimjs/slim.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSlim.d.ts
32 lines (27 loc) · 915 Bytes
/
Slim.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
export declare class Slim extends HTMLElement {
static polyfill(url:string):void;
static tag(tag:string, template:string, clazz:any):void;
static getTag(clazz:Slim):string;
static plugin(phase:string, plugin:Function):void;
static registerCustomAttribute(attr:string, fn:Function):void;
createdCallback():void;
connectedCallback():void;
disconnectedCallback():void;
onBeforeCreated():void;
onCreated():void;
onAdded():void;
onRemoved():void;
onBeforeRender():void;
onAfterRender():void;
onBeforeUpdate():void
onAfterUpdate():void;
update():void;
render(template?:string):void;
find(selector:string):HTMLElement;
findAll(selector:string):HTMLElement[];
watch(prop:string, executor:Function):void;
callAttribute(attributeName:string, value:any):void;
useShadow:boolean;
isInteractive:boolean;
template:string;
}