-
Notifications
You must be signed in to change notification settings - Fork 2
/
cuba-app.d.ts
40 lines (34 loc) · 927 Bytes
/
cuba-app.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
33
34
35
36
37
38
39
40
/**
* DO NOT EDIT
*
* This file was automatically generated by
* https://github.com/Polymer/gen-typescript-declarations
*
* To modify these typings, edit the source file(s):
* cuba-app.html
*/
/// <reference path="../polymer/types/polymer.d.ts" />
/// <reference path="cuba-js-script.d.ts" />
/**
* The `cuba-app` element is used for initialization and configuration connection to CUBA REST API.
* Adds `cuba` object to the global JS scope.
*/
interface CubaAppElement extends Polymer.Element {
/**
* Connection URL to CUBA REST API v2.
* Trailing slash required.
*/
apiUrl: string|null|undefined;
/**
* App name
*/
name: string|null|undefined;
/**
* Instance of CubaApp, see https://github.com/cuba-platform/cuba-rest-js.git
*/
readonly app: cuba.CubaApp|null;
_setupApp(apiUrl: any, name: any): void;
}
interface HTMLElementTagNameMap {
"cuba-app": CubaAppElement;
}