1 | import * as d from './declarations';
|
2 | export { ComponentDidLoad, ComponentDidUnload, ComponentDidUpdate, ComponentWillLoad, ComponentWillUpdate, ComponentInterface, StencilConfig as Config, EventEmitter, FunctionalComponent, QueueApi, JSX } from './declarations';
|
3 |
|
4 |
|
5 |
|
6 | export declare const Build: d.UserBuildConditionals;
|
7 |
|
8 |
|
9 |
|
10 | export declare const Component: d.ComponentDecorator;
|
11 |
|
12 |
|
13 |
|
14 | export declare const Element: d.ElementDecorator;
|
15 |
|
16 |
|
17 |
|
18 | export declare const Event: d.EventDecorator;
|
19 |
|
20 |
|
21 |
|
22 | export declare const Listen: d.ListenDecorator;
|
23 |
|
24 |
|
25 |
|
26 | export declare const Method: d.MethodDecorator;
|
27 |
|
28 |
|
29 |
|
30 | export declare const Prop: d.PropDecorator;
|
31 |
|
32 |
|
33 |
|
34 | export declare const State: d.StateDecorator;
|
35 |
|
36 |
|
37 |
|
38 | export declare const Watch: d.WatchDecorator;
|
39 |
|
40 |
|
41 |
|
42 | export declare const setMode: (handler: ((elm: HTMLElement) => string | undefined | null)) => void;
|
43 |
|
44 |
|
45 |
|
46 | export declare function getMode<T = (string | undefined)>(ref: any): T;
|
47 |
|
48 |
|
49 |
|
50 | export declare function getAssetPath(path: string): string;
|
51 |
|
52 |
|
53 |
|
54 | export declare function getElement(ref: any): d.HTMLStencilElement;
|
55 |
|
56 |
|
57 |
|
58 | export declare function writeTask(task: d.RafCallback): void;
|
59 |
|
60 |
|
61 |
|
62 | export declare function readTask(task: d.RafCallback): void;
|
63 |
|
64 |
|
65 |
|
66 | interface HostAttributes {
|
67 | class?: string | {
|
68 | [className: string]: boolean;
|
69 | };
|
70 | style?: {
|
71 | [key: string]: string | undefined;
|
72 | };
|
73 | ref?: (el: HTMLElement | null) => void;
|
74 | [prop: string]: any;
|
75 | }
|
76 | export declare const Host: d.FunctionalComponent<HostAttributes>;
|
77 |
|
78 |
|
79 |
|
80 |
|
81 | export declare namespace h {
|
82 | function h(sel: any): d.VNode;
|
83 | function h(sel: Node, data: d.VNodeData): d.VNode;
|
84 | function h(sel: any, data: d.VNodeData): d.VNode;
|
85 | function h(sel: any, text: string): d.VNode;
|
86 | function h(sel: any, children: Array<d.VNode | undefined | null>): d.VNode;
|
87 | function h(sel: any, data: d.VNodeData, text: string): d.VNode;
|
88 | function h(sel: any, data: d.VNodeData, children: Array<d.VNode | undefined | null>): d.VNode;
|
89 | function h(sel: any, data: d.VNodeData, children: d.VNode): d.VNode;
|
90 | namespace JSX {
|
91 | interface IntrinsicElements extends d.JSX.IntrinsicElements, d.JSXBase.IntrinsicElements {
|
92 | [tagName: string]: any;
|
93 | }
|
94 | }
|
95 | }
|